mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
1
runtime/queries/scss/folds.scm
Normal file
1
runtime/queries/scss/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: css
|
||||
65
runtime/queries/scss/highlights.scm
Normal file
65
runtime/queries/scss/highlights.scm
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
; inherits: css
|
||||
|
||||
[
|
||||
"@at-root"
|
||||
"@debug"
|
||||
"@error"
|
||||
"@extend"
|
||||
"@forward"
|
||||
"@mixin"
|
||||
"@use"
|
||||
"@warn"
|
||||
] @keyword
|
||||
|
||||
"@function" @keyword.function
|
||||
|
||||
"@return" @keyword.return
|
||||
|
||||
"@include" @include
|
||||
|
||||
[
|
||||
"@while"
|
||||
"@each"
|
||||
"@for"
|
||||
"from"
|
||||
"through"
|
||||
"in"
|
||||
] @repeat
|
||||
|
||||
(single_line_comment) @comment
|
||||
(function_name) @function
|
||||
|
||||
|
||||
[
|
||||
">="
|
||||
"<="
|
||||
] @operator
|
||||
|
||||
|
||||
(mixin_statement (name) @function)
|
||||
(mixin_statement (parameters (parameter) @parameter))
|
||||
|
||||
(function_statement (name) @function)
|
||||
(function_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)
|
||||
7
runtime/queries/scss/indents.scm
Normal file
7
runtime/queries/scss/indents.scm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
; inherits: css
|
||||
|
||||
[
|
||||
(mixin_statement)
|
||||
(while_statement)
|
||||
(each_statement)
|
||||
] @indent.begin
|
||||
Loading…
Add table
Add a link
Reference in a new issue