Fixed TOC syntax
This commit is contained in:
parent
cf4f1a8d74
commit
5f7ada246f
@ -5,12 +5,12 @@
|
|||||||
"
|
"
|
||||||
|
|
||||||
syntax match TocHelpText /^.*: .*/
|
syntax match TocHelpText /^.*: .*/
|
||||||
syntax match TocNum /^\(\S\+\(\.\S\+\)*\)\?\s*/ contained conceal
|
syntax match TocNum /^\(\([A-Z]\+\>\|\d\+\)\(\.\d\+\)*\)\?\s*/ contained
|
||||||
syntax match TocSec0 /^.*0$/ contains=TocNum,@Tex
|
syntax match TocSec0 /^.*0$/ contains=TocNum,@Tex
|
||||||
syntax match TocSec1 /^.*1$/ contains=TocNum,@Tex
|
syntax match TocSec1 /^.*1$/ contains=TocNum,@Tex
|
||||||
syntax match TocSec2 /^.*2$/ contains=TocNum,@Tex
|
syntax match TocSec2 /^.*2$/ contains=TocNum,@Tex
|
||||||
syntax match TocSec3 /^.*3$/ contains=TocNum,@Tex
|
syntax match TocSec3 /^.*3$/ contains=TocNum,@Tex
|
||||||
syntax match TocSec4 /^.*4$/ contains=TocNum,@Tex
|
syntax match TocSec4 /^.*4$/ contains=TocNum,@Tex
|
||||||
|
|
||||||
highlight link TocHelpText helpVim
|
highlight link TocHelpText helpVim
|
||||||
highlight link TocNum Number
|
highlight link TocNum Number
|
||||||
|
Loading…
x
Reference in New Issue
Block a user