From 4526043aaac251f4e6b62fe233749c7133e251e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Wed, 28 Dec 2016 22:53:47 +0100 Subject: [PATCH] Fix #646: Allow matchparen motions in comments --- autoload/vimtex/motion.vim | 2 -- 1 file changed, 2 deletions(-) diff --git a/autoload/vimtex/motion.vim b/autoload/vimtex/motion.vim index b4d5620..1ee597d 100644 --- a/autoload/vimtex/motion.vim +++ b/autoload/vimtex/motion.vim @@ -92,8 +92,6 @@ function! vimtex#motion#find_matching_pair(...) " {{{1 normal! gv endif - if vimtex#util#in_comment() | return | endif - let delim = vimtex#delim#get_current('all', 'both') if empty(delim) let delim = vimtex#delim#get_next('all', 'both')