Replies: 1 comment
-
Actually I decided to also use local jedi_capabilities = {
hoverProvider = true,
completionProvider = true,
}
if client.name == 'pyright' then
for jedi_capability, _ in pairs(jedi_capabilities) do
client.server_capabilities[jedi_capability] = false
end
end
if client.name == 'jedi_language_server' then
for capability, _ in pairs(client.server_capabilities) do
if not jedi_capabilities[capability] then
client.server_capabilities[capability] = false
end
end
end |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When working with
python
files I find thatjedi
gives a much docs invim.lsp.buf.hover
but I usepyright
for everything else. Is it somehow possible to usepyright
for the completion items but the docs fromjedi
? Or is that nothing thatnvim-cmp
has access to and hidden by thecompletionProvider
?See below for example screenshots
hover
withjedi
:completion
withpyright
:(even if I scroll down there is no actual doc-string)
Beta Was this translation helpful? Give feedback.
All reactions