fix pyright (again)
This commit is contained in:
parent
2c65a5f0d6
commit
bee54bc4c5
1 changed files with 5 additions and 1 deletions
|
@ -79,11 +79,15 @@ capabilities.textDocument.codeAction = {
|
||||||
capabilities.textDocument.completion.completionItem.snippetSupport = true;
|
capabilities.textDocument.completion.completionItem.snippetSupport = true;
|
||||||
|
|
||||||
-- LSPs
|
-- LSPs
|
||||||
local servers = {"pylyzer", "vimls", "ocamllsp",}
|
local servers = {"vimls", "ocamllsp",}
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
nvim_lsp[lsp].setup {capabilities = capabilities, on_attach = on_attach}
|
nvim_lsp[lsp].setup {capabilities = capabilities, on_attach = on_attach}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
nvim_lsp.pyright.setup({
|
||||||
|
on_attach = on_attach,
|
||||||
|
})
|
||||||
|
|
||||||
nvim_lsp.ruff_lsp.setup({
|
nvim_lsp.ruff_lsp.setup({
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
|
Loading…
Reference in a new issue