diff options
Diffstat (limited to 'runtime/queries/scss/highlights.scm')
| -rw-r--r-- | runtime/queries/scss/highlights.scm | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/runtime/queries/scss/highlights.scm b/runtime/queries/scss/highlights.scm new file mode 100644 index 000000000..726256f8e --- /dev/null +++ b/runtime/queries/scss/highlights.scm @@ -0,0 +1,87 @@ +; inherits: css + +[ + "@at-root" + "@debug" + "@error" + "@extend" + "@forward" + "@mixin" + "@use" + "@warn" +] @keyword + +"@function" @keyword.function + +"@return" @keyword.return + +"@include" @keyword.import + +[ + "@while" + "@each" + "@for" + "from" + "through" + "in" +] @keyword.repeat + +(single_line_comment) @comment @spell + +(function_name) @function + +[ + ">=" + "<=" +] @operator + +(mixin_statement + (name) @function) + +(mixin_statement + (parameters + (parameter) @variable.parameter)) + +(function_statement + (name) @function) + +(function_statement + (parameters + (parameter) @variable.parameter)) + +(plain_value) @string + +(keyword_query) @function + +(identifier) @variable + +(variable_name) @variable + +(each_statement + (key) @variable.parameter) + +(each_statement + (value) @variable.parameter) + +(each_statement + (variable_value) @variable.parameter) + +(for_statement + (variable) @variable.parameter) + +(for_statement + (_ + (variable_value) @variable.parameter)) + +(argument) @variable.parameter + +(arguments + (variable_value) @variable.parameter) + +[ + "[" + "]" +] @punctuation.bracket + +(include_statement + (identifier) @function) |
