mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 17:03:39 +02:00
fix(native_snippets): Fix native_snippets for vim.snippet api
changes (#3083)
This commit is contained in:
parent
095bc13188
commit
6004e8d4f6
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ return {
|
|||
{
|
||||
"<Tab>",
|
||||
function()
|
||||
if vim.snippet.jumpable(1) then
|
||||
if vim.snippet.active({ direction = 1 }) then
|
||||
vim.schedule(function()
|
||||
vim.snippet.jump(1)
|
||||
end)
|
||||
|
@ -47,7 +47,7 @@ return {
|
|||
{
|
||||
"<S-Tab>",
|
||||
function()
|
||||
if vim.snippet.jumpable(-1) then
|
||||
if vim.snippet.active({ direction = -1 }) then
|
||||
vim.schedule(function()
|
||||
vim.snippet.jump(-1)
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue