nvim: fix kcl
This commit is contained in:
parent
b9e5cfef5f
commit
28293d40e4
1 changed files with 9 additions and 5 deletions
|
@ -106,10 +106,10 @@ local server_configs = function()
|
|||
}, -- }}}
|
||||
jsonnet_ls = {},
|
||||
regal = {},
|
||||
jedi_language_server = {},
|
||||
kcl = {},
|
||||
terraformls = {}
|
||||
jedi_language_server = {}
|
||||
terraformls = {},
|
||||
jedi_language_server = {},
|
||||
systemd_ls = {},
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -354,14 +354,16 @@ local function config_mason_lsp()
|
|||
local available = mlsp.get_available_servers()
|
||||
local ensure = {}
|
||||
for name, _ in pairs(servers) do
|
||||
if vim.tbl_contains(available, name) and name ~= 'phpactor' and name ~= 'nixd' then
|
||||
if vim.tbl_contains(available, name) and name ~= 'phpactor' and name ~= 'nixd' and name ~= 'kcl' then
|
||||
ensure[#ensure + 1] = name
|
||||
end
|
||||
end
|
||||
mlsp.setup({ ensure_installed = ensure })
|
||||
end
|
||||
|
||||
return {
|
||||
|
||||
--- @type LazySpec[]
|
||||
local res = {
|
||||
{
|
||||
'neovim/nvim-lspconfig',
|
||||
event = 'BufRead',
|
||||
|
@ -420,3 +422,5 @@ return {
|
|||
},
|
||||
},
|
||||
}
|
||||
|
||||
return res
|
||||
|
|
Loading…
Add table
Reference in a new issue