blob: 0faca708503ae939f948afaf2417c19d751c1efe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
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
endif
|