From c7f7e01bba1216c6d152b80ada242a8e36667f86 Mon Sep 17 00:00:00 2001 From: Yerlan Date: Mon, 17 May 2021 20:45:48 +0200 Subject: [PATCH] Kotlin: string interpolation and character literal Adding highlighting for string interpolation inside double-quoted strings and character literals inside single-quotes. Avoiding string interpolation in the form of $var as this is considered bad practice. --- rc/filetype/kotlin.kak | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rc/filetype/kotlin.kak b/rc/filetype/kotlin.kak index c531dfe8..a57fd1ef 100644 --- a/rc/filetype/kotlin.kak +++ b/rc/filetype/kotlin.kak @@ -55,8 +55,8 @@ 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