From d49555fc7568cff0db385d019a68cfdb0f28f8b0 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 28 Oct 2017 11:00:51 +0800 Subject: Move highlighters into Scopes That means we can now have highlighters active at global, buffer, and window scope. The add-highlighter and remove-highlighter syntax changed to take the parent path (scope/group/...) as a mandatory argument, superseeding the previous -group switch. --- rc/base/javascript.kak | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'rc/base/javascript.kak') diff --git a/rc/base/javascript.kak b/rc/base/javascript.kak index 2bcffb4f..a8092707 100644 --- a/rc/base/javascript.kak +++ b/rc/base/javascript.kak @@ -8,7 +8,7 @@ hook global BufCreate .*[.](js) %{ # Highlighters # ‾‾‾‾‾‾‾‾‾‾‾‾ -add-highlighter -group / regions -default code javascript \ +add-highlighter shared/ regions -default code javascript \ double_string '"' (?