From 1310193a0a5cd8fdb6c66485ad7921afd4c53192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Ros=C3=A9n?= Date: Sat, 21 Oct 2017 09:56:36 +0200 Subject: [PATCH] Fix typescript highlighter Before this patch keywords are highlighted in comments etc --- rc/extra/typescript.kak | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/rc/extra/typescript.kak b/rc/extra/typescript.kak index 080153dc..26678309 100644 --- a/rc/extra/typescript.kak +++ b/rc/extra/typescript.kak @@ -11,13 +11,29 @@ hook global BufCreate .*[.](ts)x? %{ # Highlighters # ‾‾‾‾‾‾‾‾‾‾‾‾ -add-highlighter -group / group typescript -add-highlighter -group /typescript ref javascript +add-highlighter -group / regions -default code typescript \ + double_string '"' (?