fix pyright (again)

This commit is contained in:
Vladan Popovic 2023-05-16 01:22:43 +02:00
parent 2c65a5f0d6
commit bee54bc4c5

View file

@ -79,11 +79,15 @@ capabilities.textDocument.codeAction = {
capabilities.textDocument.completion.completionItem.snippetSupport = true;
-- LSPs
local servers = {"pylyzer", "vimls", "ocamllsp",}
local servers = {"vimls", "ocamllsp",}
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {capabilities = capabilities, on_attach = on_attach}
end
nvim_lsp.pyright.setup({
on_attach = on_attach,
})
nvim_lsp.ruff_lsp.setup({
on_attach = on_attach,
capabilities = capabilities,