Fix vim syntax highlighting for a regex ending with an escaped backslash
This commit is contained in:
1 parent
8b38ea4261
commit
4ec57fa48d
1 file changed
+1
-1
@@ -22,7 +22,7 @@ syn match propaneFieldOperator ":" contained
|
||||
syn match propaneOperator "?"
|
||||
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 propaneKeyword Keyword
|
||||
|
||||
Reference in new issue
Block a user