Some Python setup

This commit is contained in:
2022-04-02 22:48:19 -05:00
parent a6f6372b0f
commit 10d351d73a
2 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,7 @@ end
-- Use a loop to conveniently call 'setup' on multiple servers and
-- map buffer local keybindings when the language server attaches
local servers = { 'solargraph', 'rust_analyzer', 'gopls', 'tsserver', 'stylelint_lsp' }
local servers = { 'solargraph', 'rust_analyzer', 'gopls', 'tsserver', 'stylelint_lsp', 'pylsp'}
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
for _, lsp in pairs(servers) do
nvim_lsp[lsp].setup {