fix tab and s-tab
This commit is contained in:
parent
c42df277c6
commit
bd7c5dc6c4
1 changed files with 4 additions and 2 deletions
|
|
@ -689,8 +689,10 @@ return {
|
||||||
["<C-p>"] = cmp.mapping.select_prev_item(cmp_select),
|
["<C-p>"] = cmp.mapping.select_prev_item(cmp_select),
|
||||||
["<C-n>"] = cmp.mapping.select_next_item(cmp_select),
|
["<C-n>"] = cmp.mapping.select_next_item(cmp_select),
|
||||||
["<C-y>"] = cmp.mapping.confirm({ select = true }),
|
["<C-y>"] = cmp.mapping.confirm({ select = true }),
|
||||||
["<Tab>"] = cmp_action.luasnip_supertab(),
|
["<Tab>"] = nil,
|
||||||
["<S-Tab>"] = cmp_action.luasnip_supertab(),
|
["<S-Tab>"] = nil,
|
||||||
|
-- ["<Tab>"] = cmp_action.luasnip_supertab(),
|
||||||
|
-- ["<S-Tab>"] = cmp_action.luasnip_supertab(),
|
||||||
["<CR>"] = cmp.mapping.confirm({
|
["<CR>"] = cmp.mapping.confirm({
|
||||||
-- documentation says this is important.
|
-- documentation says this is important.
|
||||||
-- I don't know why.
|
-- I don't know why.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue