From 68b2748af117b56208f25678c4b465af00dc64c5 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 25 Apr 2020 21:03:34 +0200 Subject: Update --- autoload/rust.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autoload/rust.vim') 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('(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' "\(MatchitNormalForward)" + execute 'keepjumps' 'normal' "\(MatchitNormalForward)" endif if line('.') < cursor_line return '' -- cgit v1.2.3