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