From cf174d3b9b5b1edab8ae4b2542b497e53fb8ab10 Mon Sep 17 00:00:00 2001 From: Jonny Ramsden Date: Fri, 27 Apr 2018 17:18:18 +0100 Subject: set marks to add to jump list --- autoload/ale/loclist_jumping.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'autoload') diff --git a/autoload/ale/loclist_jumping.vim b/autoload/ale/loclist_jumping.vim index 7ed9e6ba..fd5ff922 100644 --- a/autoload/ale/loclist_jumping.vim +++ b/autoload/ale/loclist_jumping.vim @@ -66,6 +66,7 @@ function! ale#loclist_jumping#Jump(direction, wrap) abort let l:nearest = ale#loclist_jumping#FindNearest(a:direction, a:wrap) if !empty(l:nearest) + normal! m` call cursor(l:nearest) endif endfunction @@ -82,6 +83,7 @@ function! ale#loclist_jumping#JumpToIndex(index) abort let l:item = l:loclist[a:index] if !empty(l:item) + normal! m` call cursor([l:item.lnum, l:item.col]) endif endfunction -- cgit v1.2.3