feat: replace sumneko with lua-language-server

main
mandlm 2023-04-11 07:39:46 +02:00
parent f12de71a00
commit 4b7e56c757
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ in
xclip
# language servers
sumneko-lua-language-server
lua-language-server
rnix-lsp
terraform-ls
tflint

View File

@ -50,10 +50,10 @@ lsp_status.register_progress()
-- setup lua language server for init.nvim and nvim plugin development
require("neodev").setup({
override = function(root_dir, library)
override = function(root_dir, options)
if require("neodev.util").has_file(root_dir, "/etc/nixos") then
library.enabled = true
library.plugins = true
options.enabled = true
options.plugins = true
end
end,
})
@ -63,6 +63,7 @@ local capabilities = require("cmp_nvim_lsp").default_capabilities(lsp_status.cap
local servers = {
["bashls"] = {},
["dockerls"] = {},
["lua_ls"] = {},
["pylsp"] = {
pylsp = {
plugins = {
@ -74,7 +75,6 @@ local servers = {
},
["pyright"] = {},
["rnix"] = {},
["sumneko_lua"] = {},
["terraformls"] = {},
["tflint"] = {},
["tsserver"] = {},