From 5bc29f77a48b8e46513c982362a55884e7f65238 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Mon, 8 Jul 2024 13:42:25 +0300 Subject: Neovim: worked more on completions, and changed a few other things in keymaps and options --- .config/nvim/lua/custom/lsp.lua | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to '.config/nvim/lua/custom/lsp.lua') 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') -- cgit v1.3.1