Fixed #479: Add %-motion to jumplist

This commit is contained in:
Karl Yngve Lervåg 2016-06-20 23:29:26 +02:00
parent d7285afd22
commit 304b760624

View File

@ -103,6 +103,7 @@ function! vimtex#motion#find_matching_pair(...) " {{{1
let delim = vimtex#delim#get_matching(delim) let delim = vimtex#delim#get_matching(delim)
if empty(delim) | return | endif if empty(delim) | return | endif
normal! m`
call cursor(delim.lnum, call cursor(delim.lnum,
\ (delim.is_open \ (delim.is_open
\ ? delim.cnum \ ? delim.cnum