mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 04:18:18 +00:00
fix(lsp): redundant vim.snippet.jumpable #28560
This commit is contained in:

committed by
GitHub

parent
a1c9da2d5a
commit
bc7f86209d
@@ -97,9 +97,9 @@ describe('vim.snippet', function()
|
||||
|
||||
it('does not jump outside snippet range', function()
|
||||
test_expand_success({ 'function $1($2)', ' $0', 'end' }, { 'function ()', ' ', 'end' })
|
||||
eq(false, exec_lua('return vim.snippet.jumpable(-1)'))
|
||||
eq(false, exec_lua('return vim.snippet.active({ direction = -1 })'))
|
||||
feed('<Tab><Tab>i')
|
||||
eq(false, exec_lua('return vim.snippet.jumpable(1)'))
|
||||
eq(false, exec_lua('return vim.snippet.active( { direction = 1 })'))
|
||||
end)
|
||||
|
||||
it('navigates backwards', function()
|
||||
|
Reference in New Issue
Block a user