fix tab and s-tab

This commit is contained in:
Ray Andrew 2023-07-30 19:06:22 -05:00
parent c42df277c6
commit bd7c5dc6c4
No known key found for this signature in database
GPG key ID: E2E8D63137DD489E

View file

@ -689,8 +689,10 @@ return {
["<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 }),
["<Tab>"] = cmp_action.luasnip_supertab(),
["<S-Tab>"] = cmp_action.luasnip_supertab(),
["<Tab>"] = nil,
["<S-Tab>"] = nil,
-- ["<Tab>"] = cmp_action.luasnip_supertab(),
-- ["<S-Tab>"] = cmp_action.luasnip_supertab(),
["<CR>"] = cmp.mapping.confirm({
-- documentation says this is important.
-- I don't know why.