Fix #646: Allow matchparen motions in comments

This commit is contained in:
Karl Yngve Lervåg 2016-12-28 22:53:47 +01:00
parent 338c4c675c
commit 4526043aaa

View File

@ -92,8 +92,6 @@ function! vimtex#motion#find_matching_pair(...) " {{{1
normal! gv normal! gv
endif endif
if vimtex#util#in_comment() | return | endif
let delim = vimtex#delim#get_current('all', 'both') let delim = vimtex#delim#get_current('all', 'both')
if empty(delim) if empty(delim)
let delim = vimtex#delim#get_next('all', 'both') let delim = vimtex#delim#get_next('all', 'both')