summaryrefslogtreecommitdiffstats
path: root/autoload/vimtex/re.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-04-28 01:09:08 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-04-28 01:09:08 +0200
commitc7b5826d53f3f4fe31e8168e1d8c6d7b19e60f4b (patch)
tree18b7ceacc639cd998d9ea1b82dc6ec330bea4a4b /autoload/vimtex/re.vim
parent1d348d0c2db81becf134d86d0513b840e7d66435 (diff)
downloadvim-polyglot-c7b5826d53f3f4fe31e8168e1d8c6d7b19e60f4b.tar.gz
vim-polyglot-c7b5826d53f3f4fe31e8168e1d8c6d7b19e60f4b.zip
Update
Diffstat (limited to 'autoload/vimtex/re.vim')
-rw-r--r--autoload/vimtex/re.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/vimtex/re.vim b/autoload/vimtex/re.vim
index 0b3aab58..8e8f38be 100644
--- a/autoload/vimtex/re.vim
+++ b/autoload/vimtex/re.vim
@@ -20,7 +20,7 @@ let g:vimtex#re#tex_input_import =
let g:vimtex#re#tex_input_package =
\ '\v\\%(usepackage|RequirePackage)%(\s*\[[^]]*\])?\s*\{\zs[^}]*\ze\}'
-let g:vimtex#re#tex_input = '\v^\s*%(' . join([
+let g:vimtex#re#tex_input = '\v^\s*\zs%(' . join([
\ g:vimtex#re#tex_input_latex,
\ g:vimtex#re#tex_input_import,
\ ], '|') . ')'