Fix HLDS header in Vim support

This commit is contained in:
Midgard 2020-01-24 22:03:15 +01:00
parent f77a61cf87
commit 230e336b2b
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -17,7 +17,7 @@ syn match hldsLocationAttributeValue "[^\n]\+$" display contained
syn region hldsLocationHeader matchgroup=hldsLocationHeaderDelim
\ start="^====*$" end="^====*$"
\ contains=hldsLocationAttribute
\ contains=hldsLocationAttribute,hldsComment
syn keyword hldsBlockType base nextgroup=hldsBlockIdAftrKywrd skipwhite
syn keyword hldsChoiceType single_choice multi_choice nextgroup=hldsBlockIdAftrKywrd skipwhite
@ -50,6 +50,8 @@ hi def link hldsSpaceError Error
hi def link hldsComment Comment
hi def link hldsTodo Todo
syntax sync minlines=5
let b:current_syntax = "hlds"
let &cpo = s:cpo_save