mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
fix(nvim): cmp finally stopped jumping around
This commit is contained in:
parent
859e77550e
commit
d2c8493f28
10 changed files with 61 additions and 109 deletions
|
|
@ -28,7 +28,7 @@ cmp.setup({
|
|||
cmp.select_next_item()
|
||||
-- You could replace the expand_or_jumpable() calls with expand_or_locally_jumpable()
|
||||
-- they way you will only jump inside the snippet region
|
||||
elseif luasnip.expand_or_jumpable() then
|
||||
elseif luasnip.expand_or_locally_jumpable() then
|
||||
luasnip.expand_or_jump()
|
||||
elseif has_words_before() then
|
||||
cmp.complete()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue