diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-24 22:54:49 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-24 22:54:49 +0300 |
| commit | c1020414eaf2f3210daf3ca80bb63d5d7cc0d6d8 (patch) | |
| tree | e8a198c790fdf729cb34189dd0ba1ef5fbb84a63 /.config/nvim/lua/custom/config/language-servers.lua | |
| parent | 499fabdab372ae13002528595184fb8370d322f4 (diff) | |
feat(neovim): started rust configuration and tweaked some lsp stuff
Diffstat (limited to '.config/nvim/lua/custom/config/language-servers.lua')
| -rw-r--r-- | .config/nvim/lua/custom/config/language-servers.lua | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/.config/nvim/lua/custom/config/language-servers.lua b/.config/nvim/lua/custom/config/language-servers.lua index 1165994..2d824d0 100644 --- a/.config/nvim/lua/custom/config/language-servers.lua +++ b/.config/nvim/lua/custom/config/language-servers.lua @@ -1,29 +1,28 @@ -- NOTE: A list of language servers (and potentially their config) -- Accepts either true to enable, false to disable or a table with settings return { - -- lua_ls = { - -- settings = { - -- diagnostics = { - -- globals = { 'vim' }, - -- }, - -- workspace = { - -- library = { - -- [vim.fn.expand('$VIMRUNTIME/lua')] = true, - -- [vim.fn.stdpath('config') .. '/lua'] = true, - -- }, - -- }, - -- }, - -- }, -- lua - lua_ls = true, -- lua - clangd = true, -- C/C++ - gradle_ls = true, -- java package manager - jdtls = true, -- java eclipse lsp + lua_ls = { + settings = { + diagnostics = { + globals = { 'vim' }, + }, + workspace = { + library = { + [vim.fn.expand('$VIMRUNTIME/lua')] = true, + [vim.fn.stdpath('config') .. '/lua'] = true, + }, + }, + }, + }, -- lua + clangd = true, -- C/C++ + gradle_ls = true, -- java package manager + jdtls = true, -- java eclipse lsp kotlin_language_server = true, -- kotlin - pyright = true, -- python - rust_analyzer = true, -- rust - bashls = true, -- bash - taplo = true, -- toml - lemminx = true, -- xml - yamlls = true, -- yaml - jsonls = true, -- json + pyright = true, -- python + rust_analyzer = false, -- NOTE: using rustaceanvim + bashls = true, -- bash + taplo = true, -- toml + lemminx = true, -- xml + yamlls = true, -- yaml + jsonls = true, -- json } |
