From 4697490a836598df78189e679e2e4fad8522bc3a Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 9 Apr 2023 21:54:11 +0100 Subject: Removes ThePrimeagen bindings from LSP for now --- nvim/after/plugin/lsp.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/nvim/after/plugin/lsp.lua b/nvim/after/plugin/lsp.lua index c54e03b..2ef1bfa 100644 --- a/nvim/after/plugin/lsp.lua +++ b/nvim/after/plugin/lsp.lua @@ -18,17 +18,17 @@ lsp.configure('lua_ls', { }) -local cmp = require('cmp') -local cmp_select = {behavior = cmp.SelectBehavior.Select} -local cmp_mappings = lsp.defaults.cmp_mappings({ - [''] = cmp.mapping.select_prev_item(cmp_select), - [''] = cmp.mapping.select_next_item(cmp_select), - [''] = cmp.mapping.confirm({ select = true }), - [""] = cmp.mapping.complete(), -}) +-- local cmp = require('cmp') +-- local cmp_select = {behavior = cmp.SelectBehavior.Select} +-- local cmp_mappings = lsp.defaults.cmp_mappings({ +-- [''] = cmp.mapping.select_prev_item(cmp_select), +-- [''] = cmp.mapping.select_next_item(cmp_select), +-- [''] = cmp.mapping.confirm({ select = true }), +-- [""] = cmp.mapping.complete(), +-- }) -cmp_mappings[''] = nil -cmp_mappings[''] = nil +-- cmp_mappings[''] = nil +-- cmp_mappings[''] = nil lsp.setup_nvim_cmp({ mapping = cmp_mappings -- cgit v1.2.3