Fix vim syntax highlighting for a regex ending with an escaped backslash

This commit is contained in:
josh committed 2025-07-20 17:16:59 -04:00
1 parent 8b38ea4261
commit 4ec57fa48d
1 file changed
+1 -1
+1 -1
View File
@@ -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