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, { desc = "Format current buffer with LSP" })
end 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 = { local servers = {
-- clangd = {}, bashls = {
-- gopls = {}, bashIde = {
-- pyright = {}, globPattern = "*@(.sh|.inc|.bash|.command)"
-- rust_analyzer = {}, }
-- tsserver = {}, },
lua_ls = { lua_ls = {
Lua = { Lua = {
diagnostics = { globals = { 'vim' } }, diagnostics = { globals = { 'vim' } },
@ -76,6 +70,22 @@ return {
telemetry = { enable = false }, telemetry = { enable = false },
}, },
}, },
html = {},
jqls = {},
jsonls = {},
marksman = {},
pyright = {
python = {
analysis = {
autoSearchPaths = true,
diagnosticMode = "openFilesOnly",
useLibraryCodeForTypes = true
}
}
},
rnix = {},
tsserver = {},
yamlls = {},
} }
-- --