From a390a6f356a97428d00935e5e8e0a01a23f5e746 Mon Sep 17 00:00:00 2001 From: Yerlan Date: Tue, 18 May 2021 20:51:52 +0200 Subject: [PATCH] Highlight extra chars in literal This commit adds highlighting characters other than the first with red color helping to get immediate feedback of the syntax error. This helps those who come from languagles like JS where single quotes also denote multi-character strings. --- rc/filetype/kotlin.kak | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rc/filetype/kotlin.kak b/rc/filetype/kotlin.kak index 76d3b7dd..4d575167 100644 --- a/rc/filetype/kotlin.kak +++ b/rc/filetype/kotlin.kak @@ -56,7 +56,7 @@ provide-module kotlin %ยง add-highlighter shared/kotlin regions add-highlighter shared/kotlin/code default-region group add-highlighter shared/kotlin/string region %{(?](?=[^\(\{]) 1:function 2:function 3:function