From 1b11412796d1fe3c0f63c5cb07e18d818673a729 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Thu, 14 Sep 2017 14:13:59 +0300 Subject: [PATCH] rc perl: Don't highlight regex, fix string escapes Highlighting perl regex patterns with regular expressions (with highlighters) caused several misses that made most of the file unreadable. This commit makes `perl.kak` not try to highlight those patterns in the code, and also addresses issues with string highlighting. --- rc/base/perl.kak | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/rc/base/perl.kak b/rc/base/perl.kak index 27fc720f..fd53a901 100644 --- a/rc/base/perl.kak +++ b/rc/base/perl.kak @@ -12,10 +12,10 @@ hook global BufCreate .*\.p[lm] %{ # ‾‾‾‾‾‾‾‾‾‾‾‾ add-highlighter -group / regions -default code perl \ - command '(?