diff options
Diffstat (limited to 'autoload/rust.vim')
-rw-r--r-- | autoload/rust.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/rust.vim b/autoload/rust.vim index 373be590..34dd1673 100644 --- a/autoload/rust.vim +++ b/autoload/rust.vim @@ -502,13 +502,13 @@ function! s:SearchTestFunctionNameUnderCursor() abort " Search the end of test function (closing brace) to ensure that the " cursor position is within function definition if maparg('<Plug>(MatchitNormalForward)') ==# '' - normal! % + keepjumps normal! % else " Prefer matchit.vim official plugin to native % since the plugin " provides better behavior than original % (#391) " To load the plugin, run: " :packadd matchit - execute 'normal' "\<Plug>(MatchitNormalForward)" + execute 'keepjumps' 'normal' "\<Plug>(MatchitNormalForward)" endif if line('.') < cursor_line return '' |