c-family.kak: Do not mistake '\"' for a double quoted string start
Fixes #1893
This commit is contained in:
parent
e39e91049c
commit
5c247bf1dd
|
@ -134,7 +134,7 @@ define-command -hidden c-family-insert-on-newline %[ evaluate-commands -draft %[
|
|||
|
||||
printf %s\\n '
|
||||
add-highlighter shared/ regions -default code -match-capture FT \
|
||||
string %{MAYBEAT(?<!QUOTE)"} %{(?<!\\)(?:\\\\)*"} "" \
|
||||
string %{MAYBEAT(?<!QUOTE)(?<!QUOTE\\)"} %{(?<!\\)(?:\\\\)*"} "" \
|
||||
string %{R"([^(]*)\(} %{\)([^)]*)"} "" \
|
||||
comment /\* \*/ "" \
|
||||
comment // $ "" \
|
||||
|
|
Loading…
Reference in New Issue
Block a user