diff --git a/config/nvim/lua/plugins/lsp.lua b/config/nvim/lua/plugins/lsp.lua index 983b4b8..a5bd060 100644 --- a/config/nvim/lua/plugins/lsp.lua +++ b/config/nvim/lua/plugins/lsp.lua @@ -20,7 +20,7 @@ end) -- read this: https://github.com/VonHeikemen/lsp-zero.nvim/blob/v3.x/doc/md/guides/integrate-with-mason-nvim.md require('mason').setup({}) require('mason-lspconfig').setup({ - ensure_installed = {'tsserver','dockerls','lua_ls','terraformls','pyright','gopls'}, + ensure_installed = {'tsserver','dockerls','lua_ls','terraformls','pyright','gopls','volar'}, handlers = { function(server_name) require('lspconfig')[server_name].setup({}) @@ -36,7 +36,7 @@ cmp.setup({ {name = 'nvim_lsp'}, }, mapping = { - [''] = cmp.mapping.confirm({select = false}), + [''] = cmp.mapping.confirm({select = false}), [''] = cmp.mapping.abort(), [''] = cmp.mapping.select_prev_item({behavior = 'select'}), [''] = cmp.mapping.select_next_item({behavior = 'select'}),