removed vsnip
This commit is contained in:
parent
a78fdf9f0d
commit
dcf119690e
@ -276,8 +276,8 @@ lua <<EOF
|
||||
else
|
||||
cmp.select_next_item()
|
||||
end
|
||||
elseif vim.fn["vsnip#available"](1) == 1 then
|
||||
feedkey("<Plug>(vsnip-expand-or-jump)", "")
|
||||
-- elseif vim.fn["vsnip#available"](1) == 1 then
|
||||
-- feedkey("<Plug>(vsnip-expand-or-jump)", "")
|
||||
elseif has_words_before() then
|
||||
cmp.complete()
|
||||
if #cmp.get_entries() == 1 then
|
||||
@ -291,8 +291,8 @@ lua <<EOF
|
||||
["<S-Tab>"] = cmp.mapping(function()
|
||||
if cmp.visible() then
|
||||
cmp.select_prev_item()
|
||||
elseif vim.fn["vsnip#jumpable"](-1) == 1 then
|
||||
feedkey("<Plug>(vsnip-jump-prev)", "")
|
||||
-- elseif vim.fn["vsnip#jumpable"](-1) == 1 then
|
||||
-- feedkey("<Plug>(vsnip-jump-prev)", "")
|
||||
end
|
||||
end, { "i", "s" }),
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user