From 787ff5d0025639dc14eb2111497c7822017856e4 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sat, 17 Apr 2021 11:00:23 +0200 Subject: [PATCH] rc sass: highlight and copy full comments, and support CSS comments --- rc/filetype/sass.kak | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rc/filetype/sass.kak b/rc/filetype/sass.kak index d3df6300..02ec52aa 100644 --- a/rc/filetype/sass.kak +++ b/rc/filetype/sass.kak @@ -37,7 +37,8 @@ add-highlighter shared/sass regions add-highlighter shared/sass/code default-region group add-highlighter shared/sass/single_string region '"' (? s ^\h*\K/\h* y gh j P } + try %{ execute-keys -draft k s ^\h*\K/{2,}\h* y gh j P } # preserve previous line indent try %{ execute-keys -draft K } # filter previous line