cmp: fix typo in config

This commit is contained in:
krolyxon 2023-01-26 00:15:34 +05:30
parent 3fd08e75e9
commit 7e8bf34524
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ local options = {
}, },
["<Tab>"] = cmp.mapping(function(fallback) ["<Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then if cmp.visible() then
cmp.select_next_item({behavior = ' elect'}) cmp.select_next_item()
elseif require("luasnip").expand_or_jumpable() then elseif require("luasnip").expand_or_jumpable() then
vim.fn.feedkeys(vim.api.nvim_replace_termcodes("<Plug>luasnip-expand-or-jump", true, true, true), "") vim.fn.feedkeys(vim.api.nvim_replace_termcodes("<Plug>luasnip-expand-or-jump", true, true, true), "")
else else