1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:20:06 +08:00
SpaceVim/bundle/nvim-treesitter/queries/scss/highlights.scm
2022-04-14 12:01:23 +08:00

51 lines
760 B
Scheme

; inherits: css
[
"@mixin"
"@media"
"@include"
] @keyword
[
"@while"
"@each"
"@for"
"from"
"through"
"in"
] @repeat
(single_line_comment) @comment
(function_name) @function
[
">="
"<="
] @operator
(mixin_statement (name) @function)
(mixin_statement (parameters (parameter) @parameter))
(plain_value) @string
(keyword_query) @function
(identifier) @variable
(variable_name) @variable
(each_statement (key) @parameter)
(each_statement (value) @parameter)
(each_statement (variable_value) @parameter)
(for_statement (variable) @parameter)
(for_statement (_ (variable_value) @parameter))
(argument) @parameter
(arguments (variable_value) @parameter)
[
"["
"]"
] @punctuation.bracket
(include_statement (identifier) @function)