summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2022-07-31 16:17:32 -0700
committerLouie S <louie@example.com>2022-07-31 16:17:32 -0700
commit2b5a85dc976377afb9a87b3756e931d07bb5719c (patch)
treeddaf09cb5853b80b0986d4035aec44ed0b487dac
parentd6c8181f4425d183fbf574b40638bd604db680ba (diff)
Removed tab functionality for cmp
-rw-r--r--lua/user/cmp.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua
index 4f91759..d8f0c33 100644
--- a/lua/user/cmp.lua
+++ b/lua/user/cmp.lua
@@ -71,6 +71,7 @@ cmp.setup {
-- Accept currently selected item. If none selected, `select` first item.
-- Set `select` to `false` to only confirm explicitly selected items.
["<CR>"] = cmp.mapping.confirm { select = false },
+ --[[
["<Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
@@ -87,6 +88,8 @@ cmp.setup {
"i",
"s",
}),
+ ]]
+ --[[
["<S-Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_prev_item()
@@ -99,6 +102,7 @@ cmp.setup {
"i",
"s",
}),
+ --]]
},
formatting = {
fields = { "kind", "abbr", "menu" },