1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-25 10:32:19 +03:00

Simplify the highlighted regions, fix the ones remaining

This commit is contained in:
Frank LENORMAND 2015-10-29 10:00:23 +03:00
parent 7581cde87a
commit 753e3d17de

View File

@ -16,13 +16,10 @@ hook global BufCreate .*\.pl %{
# ‾‾‾‾‾‾‾‾‾‾‾‾
addhl -group / regions -default code perl \
command '(?:[^\$]|^)`' '`' '' \
command '\<qx/' (?<!\\)(\\\\)*/ '' \
double_string '(?:[^\$]|^)"' (?<!\\)(\\\\)*" '' \
double_string '\<q(q|w)/' (?<!\\)(\\\\)*/ '' \
single_string "(?:[^\$]|^)'" (?<!\\)(\\\\)*' '' \
single_string "\<q/" (?<!\\)(\\\\)*/ '' \
comment '(?:[^\$]|^)#' $ ''
command '(?<!\$)`' (?<!\\)(\\\\)*` '' \
double_string '(?<!\$)"' (?<!\\)(\\\\)*" '' \
single_string "(?<!\$)'" (?<!\\)(\\\\)*' '' \
comment '(?<!\$)#' $ ''
addhl -group /perl/command fill magenta
addhl -group /perl/double_string fill string