Added swift language server

This commit is contained in:
2021-12-19 13:12:11 -05:00
parent 42bb38715a
commit 3e6c7e8281
2 changed files with 6 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
local servers = {
"gopls", "bashls", "jedi_language_server", "dockerls", "terraformls",
"tsserver", "texlab", "yamlls", "jsonls"
"tsserver", "texlab", "yamlls", "jsonls", "clangd", "sourcekit"
}
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {
@@ -176,6 +176,8 @@ require"lspconfig".sumneko_lua.setup {
}
}
}
-- alternative to formatter but yamlfix is not working and I need this for respecting yamllint config
-- but yamlfix is messing up ansible files ... 😠
-- require('lspconfig')['efm'].setup{