update lsp servers

This commit is contained in:
Salar Rahmanian 2023-10-20 22:44:25 -07:00
parent ed9cdefbfe
commit 543a87b647

View file

@ -57,18 +57,12 @@ return {
end, { desc = "Format current buffer with LSP" })
end
-- Enable the following language servers
-- Feel free to add/remove any LSPs that you want here. They will automatically be installed.
--
-- Add any additional override configuration in the following tables. They will be passed to
-- the `settings` field of the server config. You must look up that documentation yourself.
local servers = {
-- clangd = {},
-- gopls = {},
-- pyright = {},
-- rust_analyzer = {},
-- tsserver = {},
bashls = {
bashIde = {
globPattern = "*@(.sh|.inc|.bash|.command)"
}
},
lua_ls = {
Lua = {
diagnostics = { globals = { 'vim' } },
@ -76,6 +70,22 @@ return {
telemetry = { enable = false },
},
},
html = {},
jqls = {},
jsonls = {},
marksman = {},
pyright = {
python = {
analysis = {
autoSearchPaths = true,
diagnosticMode = "openFilesOnly",
useLibraryCodeForTypes = true
}
}
},
rnix = {},
tsserver = {},
yamlls = {},
}
--