Fixed TOC syntax
This commit is contained in:
parent
cf4f1a8d74
commit
5f7ada246f
@ -5,7 +5,7 @@
|
|||||||
"
|
"
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user