From 04ed865eff2a7824275e4ad950ad1209102baa8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Thu, 25 Aug 2016 21:36:41 +0200 Subject: [PATCH] Fixed #534: Syntax highlighting in ToC --- autoload/vimtex/toc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vimtex/toc.vim b/autoload/vimtex/toc.vim index 82addb7..559ea90 100644 --- a/autoload/vimtex/toc.vim +++ b/autoload/vimtex/toc.vim @@ -341,6 +341,7 @@ endfunction " }}}1 function! s:index_syntax() dict "{{{1 + syntax match VimtexTocHelp /^\S.*: .*/ syntax match VimtexTocNum \ /^\(\([A-Z]\+\>\|\d\+\)\(\.\d\+\)*\)\?\s*/ contained syntax match VimtexTocSec0 /^.*0$/ contains=VimtexTocNum,@Tex @@ -348,7 +349,6 @@ function! s:index_syntax() dict "{{{1 syntax match VimtexTocSec2 /^.*2$/ contains=VimtexTocNum,@Tex syntax match VimtexTocSec3 /^.*3$/ contains=VimtexTocNum,@Tex syntax match VimtexTocSec4 /^.*4$/ contains=VimtexTocNum,@Tex - syntax match VimtexTocHelp /^\S.*: .*/ endfunction " }}}1