Fix HLDS header in Vim support
This commit is contained in:
parent
f77a61cf87
commit
230e336b2b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue