summaryrefslogtreecommitdiff
path: root/lua/user/cmp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/cmp.lua')
-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" },