diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-17 01:43:28 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-17 01:43:28 +0200 |
commit | ba1305772d6dc5939fd7fbad57108aa71ee2d158 (patch) | |
tree | 17fbd0d7dcd8f3f7847a953cb5d7eed98bd4cd65 /syntax | |
parent | ff3cc42bf3ef067324364b5a40f2e457d202588c (diff) | |
download | vim-polyglot-ba1305772d6dc5939fd7fbad57108aa71ee2d158.tar.gz vim-polyglot-ba1305772d6dc5939fd7fbad57108aa71ee2d158.zip |
fix: Switch latex to LaTeX-Box-Team/LaTeX-Box, fixes #6
Diffstat (limited to 'syntax')
-rw-r--r-- | syntax/latextoc.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/syntax/latextoc.vim b/syntax/latextoc.vim new file mode 100644 index 00000000..5709ed63 --- /dev/null +++ b/syntax/latextoc.vim @@ -0,0 +1,9 @@ +syntax match helpText /^.*: .*/ +syntax match secNum /^\S\+\(\.\S\+\)\?\s*/ contained conceal +syntax match secLine /^\S\+\t.\+/ contains=secNum +syntax match mainSecLine /^[^\.]\+\t.*/ contains=secNum +syntax match ssubSecLine /^[^\.]\+\.[^\.]\+\.[^\.]\+\t.*/ contains=secNum +highlight link helpText PreProc +highlight link secNum Number +highlight link mainSecLine Title +highlight link ssubSecLine Comment |