aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-04-09 21:54:11 +0100
committerMatthew Lemon <y@yulqen.org>2023-04-09 21:54:11 +0100
commit4697490a836598df78189e679e2e4fad8522bc3a (patch)
tree478a46c9257c5e439066623dd0fbcae83ca72042
parent44a8ed456670c0f94ee084abeeb20206fb277fce (diff)
Removes ThePrimeagen bindings from LSP for now
-rw-r--r--nvim/after/plugin/lsp.lua20
1 files 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({
- ['<C-p>'] = cmp.mapping.select_prev_item(cmp_select),
- ['<C-n>'] = cmp.mapping.select_next_item(cmp_select),
- ['<C-y>'] = cmp.mapping.confirm({ select = true }),
- ["<C-Space>"] = cmp.mapping.complete(),
-})
+-- local cmp = require('cmp')
+-- local cmp_select = {behavior = cmp.SelectBehavior.Select}
+-- local cmp_mappings = lsp.defaults.cmp_mappings({
+-- ['<C-p>'] = cmp.mapping.select_prev_item(cmp_select),
+-- ['<C-n>'] = cmp.mapping.select_next_item(cmp_select),
+-- ['<C-y>'] = cmp.mapping.confirm({ select = true }),
+-- ["<C-Space>"] = cmp.mapping.complete(),
+-- })
-cmp_mappings['<Tab>'] = nil
-cmp_mappings['<S-Tab>'] = nil
+-- cmp_mappings['<Tab>'] = nil
+-- cmp_mappings['<S-Tab>'] = nil
lsp.setup_nvim_cmp({
mapping = cmp_mappings