Fix #646: Allow matchparen motions in comments
This commit is contained in:
parent
338c4c675c
commit
4526043aaa
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user