add new lsp: pylsp

This commit is contained in:
leafee98 2023-05-22 15:17:26 +08:00
parent df5be57d75
commit 1d2561beae

View file

@ -51,7 +51,7 @@ return {
config = function (_, opts)
local capabilities = require("cmp_nvim_lsp").default_capabilities()
local servers = { "clangd", "rust_analyzer", "pyright", "gopls", "denols" }
local servers = { "clangd", "rust_analyzer", "pyright", "gopls", "denols", "pylsp" }
for _, lsp in ipairs(servers) do
require("lspconfig")[lsp].setup{
capabilities = capabilities,