add sops, change lsp select

This commit is contained in:
2024-07-24 11:29:22 +03:00
parent 8e153ee524
commit 4ccc8ae093
3 changed files with 16 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ return {
require('mason-lspconfig').setup({
-- Replace the language servers listed here
-- with the ones you want to install
ensure_installed = { 'tsserver', 'lua_ls', 'gopls', 'pylsp', 'gitlab_ci_ls', 'yamlls', 'ansiblels'},
ensure_installed = { 'tsserver', 'lua_ls', 'gopls', 'pylsp', 'gitlab_ci_ls', 'yamlls', 'ansiblels', 'terraformls'},
handlers = {
function(server_name)
require('lspconfig')[server_name].setup({})
@@ -52,7 +52,7 @@ return {
luasnip.expand()
else
cmp.confirm({
select = true,
select = false,
})
end
else