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 ce5f2b1 commit 2b916c8Copy full SHA for 2b916c8
autoload/rust.vim
@@ -500,13 +500,13 @@ function! s:SearchTestFunctionNameUnderCursor() abort
500
" Search the end of test function (closing brace) to ensure that the
501
" cursor position is within function definition
502
if maparg('<Plug>(MatchitNormalForward)') ==# ''
503
- normal! %
+ keepjumps normal! %
504
else
505
" Prefer matchit.vim official plugin to native % since the plugin
506
" provides better behavior than original % (#391)
507
" To load the plugin, run:
508
" :packadd matchit
509
- execute 'normal' "\<Plug>(MatchitNormalForward)"
+ execute 'keepjumps' 'normal' "\<Plug>(MatchitNormalForward)"
510
endif
511
if line('.') < cursor_line
512
return ''
0 commit comments