We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 219acb1 commit 0e4923aCopy full SHA for 0e4923a
test/helpers.lua
@@ -55,7 +55,7 @@ function M.make_suite(lang, name, input, expected, go_to)
55
local lines = vim.split(input, '\n', { plain = true, trimempty = false })
56
vim.api.nvim_buf_set_lines(bufnr, 0, 1, false, lines)
57
if type(go_to) == 'string' then
58
- vim.cmd.norm('f'..go_to)
+ vim.cmd.search(go_to)
59
elseif type(go_to) == 'table' then
60
vim.api.nvim_win_set_cursor(0, go_to)
61
end
0 commit comments