diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-07-08 13:42:25 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-07-08 13:42:25 +0300 |
| commit | 5bc29f77a48b8e46513c982362a55884e7f65238 (patch) | |
| tree | 111426ddee2e7a30cd974b29bc83f50610f4ced5 /.config/nvim/lua/custom/lsp.lua | |
| parent | b491f9e3a73367dfd54ca8f8bc74008332c80f34 (diff) | |
Neovim: worked more on completions, and changed a few other things in keymaps and options
Diffstat (limited to '.config/nvim/lua/custom/lsp.lua')
| -rw-r--r-- | .config/nvim/lua/custom/lsp.lua | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/.config/nvim/lua/custom/lsp.lua b/.config/nvim/lua/custom/lsp.lua index 1238001..d534e22 100644 --- a/.config/nvim/lua/custom/lsp.lua +++ b/.config/nvim/lua/custom/lsp.lua @@ -1,18 +1,18 @@ -- NOTE: A list of language servers (and potentially their config) -- Accepts either true to enable, false to disable or a table with settings local servers = { - lua_ls = true, -- lua - clangd = true, -- C/C++ - gradle_ls = true, -- java package manager - jdtls = true, -- java eclipse lsp + lua_ls = 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 = true, -- rust + bashls = true, -- bash + taplo = true, -- toml + lemminx = true, -- xml + yamlls = true, -- yaml + jsonls = true, -- json } -- NOTE: Not language servers but still make sure mason installs them @@ -97,3 +97,5 @@ vim.api.nvim_create_autocmd('LspAttach', { -- -- require('lsp_lines').setup() -- vim.diagnostic.config({ virtual_text = false }) + +print('Sourced lsp.lua') |
