mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 22:10:01 -04:00
highlights(scss): add function statement
This commit is contained in:
parent
2be75015e8
commit
99547308ac
1 changed files with 7 additions and 0 deletions
|
|
@ -4,8 +4,11 @@
|
|||
"@mixin"
|
||||
"@media"
|
||||
"@include"
|
||||
"@function"
|
||||
] @keyword
|
||||
|
||||
("@return") @keyword.return
|
||||
|
||||
[
|
||||
"@while"
|
||||
"@each"
|
||||
|
|
@ -27,6 +30,10 @@
|
|||
|
||||
(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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue