add new lsp: pylsp
This commit is contained in:
parent
df5be57d75
commit
1d2561beae
|
@ -51,7 +51,7 @@ return {
|
||||||
config = function (_, opts)
|
config = function (_, opts)
|
||||||
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
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
|
for _, lsp in ipairs(servers) do
|
||||||
require("lspconfig")[lsp].setup{
|
require("lspconfig")[lsp].setup{
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
|
Loading…
Reference in a new issue