From d6a01ad29fdaa4802bca78d60ed025d48c7c73c8 Mon Sep 17 00:00:00 2001 From: Marius Messerschmidt Date: Mon, 5 Sep 2016 16:41:32 +0200 Subject: [PATCH] Added some SCSS keywords for the css/scss highlighting Signed-off-by: Marius Messerschmidt --- runtime/syntax/css.micro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/runtime/syntax/css.micro b/runtime/syntax/css.micro index 91523e77..0db42ca5 100644 --- a/runtime/syntax/css.micro +++ b/runtime/syntax/css.micro @@ -11,6 +11,12 @@ color special "!important" color identifier ":active|:focus|:hover|:link|:visited|:link|:after|:before|$" color special "(\{|\}|\(|\)|\;|:|\]|~|<|>|,)" +# SCSS Varaibles +color identifier (i) "\$\{?[0-9A-Z_!@#$*?-]+\}?" + +# SCSS Commands +color statement "@import|@mixin|@extend" + # Strings color constant ""(\\.|[^"])*"" color constant "'(\\.|[^'])*'"