From 2b5a85dc976377afb9a87b3756e931d07bb5719c Mon Sep 17 00:00:00 2001 From: Louie S Date: Sun, 31 Jul 2022 16:17:32 -0700 Subject: Removed tab functionality for cmp --- lua/user/cmp.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/user/cmp.lua') 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. [""] = cmp.mapping.confirm { select = false }, + --[[ [""] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() @@ -87,6 +88,8 @@ cmp.setup { "i", "s", }), + ]] + --[[ [""] = 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" }, -- cgit