mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(luasnip): schedule jump to be compatible with blink, nvim-cmp still works after change
This commit is contained in:
parent
83bf6360a1
commit
b44b964d41
1 changed files with 3 additions and 1 deletions
|
|
@ -30,7 +30,9 @@ return {
|
|||
opts = function()
|
||||
LazyVim.cmp.actions.snippet_forward = function()
|
||||
if require("luasnip").jumpable(1) then
|
||||
require("luasnip").jump(1)
|
||||
vim.schedule(function()
|
||||
require("luasnip").jump(1)
|
||||
end)
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue