mirror of
https://github.com/softinio/nvim-config.git
synced 2025-09-05 09:06:42 -07:00
add rust lsp support and cleanup
This commit is contained in:
parent
6f0048ce70
commit
11315a02af
2 changed files with 11 additions and 40 deletions
|
@ -60,12 +60,12 @@ return {
|
|||
local servers = {
|
||||
bashls = {
|
||||
bashIde = {
|
||||
globPattern = "*@(.sh|.inc|.bash|.command)"
|
||||
}
|
||||
globPattern = "*@(.sh|.inc|.bash|.command)",
|
||||
},
|
||||
},
|
||||
lua_ls = {
|
||||
Lua = {
|
||||
diagnostics = { globals = { 'vim' } },
|
||||
diagnostics = { globals = { "vim" } },
|
||||
workspace = { checkThirdParty = false },
|
||||
telemetry = { enable = false },
|
||||
},
|
||||
|
@ -79,11 +79,16 @@ return {
|
|||
analysis = {
|
||||
autoSearchPaths = true,
|
||||
diagnosticMode = "openFilesOnly",
|
||||
useLibraryCodeForTypes = true
|
||||
}
|
||||
}
|
||||
useLibraryCodeForTypes = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
rnix = {},
|
||||
rust_analyzer = {
|
||||
diagnostics = {
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
tsserver = {},
|
||||
yamlls = {},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue