Fix vim syntax highlighting for a regex ending with an escaped backslash
This commit is contained in:
parent
8b38ea4261
commit
4ec57fa48d
@ -22,7 +22,7 @@ syn match propaneFieldOperator ":" contained
|
|||||||
syn match propaneOperator "?"
|
syn match propaneOperator "?"
|
||||||
syn keyword propaneKeyword ast ast_prefix ast_suffix drop module prefix ptype start token tokenid
|
syn keyword propaneKeyword ast ast_prefix ast_suffix drop module prefix ptype start token tokenid
|
||||||
|
|
||||||
syn region propaneRegex start="/" end="/" skip="\\/"
|
syn region propaneRegex start="/" end="/" skip="\v\\\\|\\/"
|
||||||
|
|
||||||
hi def link propaneComment Comment
|
hi def link propaneComment Comment
|
||||||
hi def link propaneKeyword Keyword
|
hi def link propaneKeyword Keyword
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user