summaryrefslogtreecommitdiff
path: root/after/plugin
diff options
context:
space:
mode:
authorGravatar Matthew Wozniak <sirtomato999@gmail.com> 2023-07-17 19:08:59 -0500
committerGravatar Matthew Wozniak <sirtomato999@gmail.com> 2023-07-17 19:08:59 -0500
commit424338f469f51711c3980f6f0bfd8084278bbea5 (patch)
tree6861264a0c5a11358a7c4308eb805a7d37febdf7 /after/plugin
parentfe5293ded5578dfa75b36ff867083bc80b6c6f89 (diff)
downloadnvim-424338f469f51711c3980f6f0bfd8084278bbea5.tar.gz
nvim-424338f469f51711c3980f6f0bfd8084278bbea5.zip
no more auto lsp downloading it was buggy anyway
Diffstat (limited to 'after/plugin')
-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({