From 4a89090d968094336a6c6e52a11e3061dad9f19f Mon Sep 17 00:00:00 2001 From: Koen Lageveen Date: Wed, 14 Nov 2018 17:18:47 +0100 Subject: [PATCH] fix #31 comments in multiline include params --- Syntaxes/SCSS.sublime-syntax | 2 ++ Tests/syntax_test_scss.scss | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Syntaxes/SCSS.sublime-syntax b/Syntaxes/SCSS.sublime-syntax index f651612b..be6f9d5e 100644 --- a/Syntaxes/SCSS.sublime-syntax +++ b/Syntaxes/SCSS.sublime-syntax @@ -481,6 +481,8 @@ contexts: scope: punctuation.definition.group.begin.scss push: - meta_scope: meta.function.parameters.scss + - include: comment-block + - include: comment-line - include: scss-variables - include: scss-functions - include: scss-operators diff --git a/Tests/syntax_test_scss.scss b/Tests/syntax_test_scss.scss index 7c0b87d2..eeff4538 100644 --- a/Tests/syntax_test_scss.scss +++ b/Tests/syntax_test_scss.scss @@ -245,6 +245,12 @@ // ^ string.unquoted // ^ - string +@include firefox-message( + ".header", /*a comment*/ + test // this should also be a comment + ); + + /* Mixin Directives