From 4f75358ce315ba9658f29bce581b8dc7dbdc4a06 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 18 Feb 2018 16:21:05 +1100 Subject: [PATCH] lua.kak: Fix string highlighting with -match-capture regions With the introduction of -match-capture for the lua region highlighter, the string closing regex had spurious captures that were not going to match. Fixes #1850 --- rc/base/lua.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/base/lua.kak b/rc/base/lua.kak index 6ee7bcb3..9bac6c5c 100644 --- a/rc/base/lua.kak +++ b/rc/base/lua.kak @@ -12,8 +12,8 @@ hook global BufCreate .*[.](lua) %{ # ‾‾‾‾‾‾‾‾‾‾‾‾ add-highlighter shared/ regions -default code -match-capture lua \ - string '"' (?