mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 07:53:41 +03:00
rc perl.kak: highlight substitution with empty replacement, like s{foo}{}
This commit is contained in:
parent
1f4362d0ba
commit
cc9447c15b
@ -44,7 +44,7 @@ add-highlighter shared/perl/comment region (?<!\$)(?<!\\)# $
|
||||
|
||||
add-highlighter shared/perl/regex region m?(?<!/)(?<!qr)/[^/\n]+(?=/) /\w* fill meta
|
||||
add-highlighter shared/perl/sregex region s/[^/\n]+/[^/\n]+(?=/) /\w* fill meta
|
||||
add-highlighter shared/perl/bregex region s\{[^\}\n]+\}\{[^\}\n]+(?=\}) \}\w* fill meta
|
||||
add-highlighter shared/perl/bregex region s\{[^\}\n]+\}\{[^\}\n]*(?=\}) \}\w* fill meta
|
||||
|
||||
add-highlighter shared/perl/quote_brace region -recurse \{ \bq[qrwx]?\{ \} fill string
|
||||
add-highlighter shared/perl/quote_paren region -recurse \( \bq[qrwx]?\( \) fill string
|
||||
|
Loading…
Reference in New Issue
Block a user