summaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
Diffstat (limited to 'after')
-rw-r--r--after/plugin/lsp.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua
index dfcf7ea..cfb10e8 100644
--- a/after/plugin/lsp.lua
+++ b/after/plugin/lsp.lua
@@ -2,7 +2,7 @@ local lsp = require("lsp-zero")
lsp.preset("recommended")
-lsp.ensure_installed({
+lsp.setup_servers({
'clangd',
'rust_analyzer',
'lua_ls',
@@ -11,7 +11,6 @@ lsp.ensure_installed({
-- Fix Undefined global 'vim'
lsp.nvim_workspace()
-
local cmp = require('cmp')
local cmp_select = {behavior = cmp.SelectBehavior.Select}
local cmp_mappings = lsp.defaults.cmp_mappings({