From 1fecb99a4d5d7db2c45f5c95ebf62ddd3caccdde Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Wed, 1 Feb 2017 13:56:24 +0100 Subject: [PATCH] support in-line comments --- rc/extra/scss.kak | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/rc/extra/scss.kak b/rc/extra/scss.kak index 001dbf7b7..0f82ae781 100644 --- a/rc/extra/scss.kak +++ b/rc/extra/scss.kak @@ -13,11 +13,14 @@ hook global BufCreate .*[.](scss) %{ # Highlighters # ‾‾‾‾‾‾‾‾‾‾‾‾ -add-highlighter -group / group scss +add-highlighter -group / regions -default core scss \ + comment // $ '' -add-highlighter -group /scss ref css +add-highlighter -group /scss/comment fill comment -add-highlighter -group /scss regex @[A-Za-z][A-Za-z0-9_-]* 0:meta +add-highlighter -group /scss/core ref css + +add-highlighter -group /scss/core regex @[A-Za-z][A-Za-z0-9_-]* 0:meta # Commands # ‾‾‾‾‾‾‾‾