mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
vim syntax support comments (closed #6399)
Co-authored-by: Edgar Luque <git@edgarluque.com>
This commit is contained in:
parent
2222a1df57
commit
a38a5df573
|
@ -7,6 +7,7 @@ endif
|
|||
|
||||
syntax match settingName "^\w*"
|
||||
|
||||
syntax match comment "#.*"
|
||||
syntax match value "\s\w*"
|
||||
syntax match escapeQuote "\\\""
|
||||
syntax match number "\s[0-9]\+"
|
||||
|
@ -16,6 +17,7 @@ syntax region string start='"' end='"' contains=escapeQuote
|
|||
|
||||
hi def link settingName Identifier
|
||||
|
||||
hi def link comment Comment
|
||||
hi def link value Constant
|
||||
hi def link ip Constant
|
||||
hi def link string String
|
||||
|
|
Loading…
Reference in a new issue