vim syntax support comments (closed #6399)

Co-authored-by: Edgar Luque <git@edgarluque.com>
This commit is contained in:
ChillerDragon 2023-03-09 16:50:34 +01:00
parent 2222a1df57
commit a38a5df573

View file

@ -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