mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-12-01 11:23:10 +03:00
Highlight metavariables ($var) inside rust macros.
This commit is contained in:
parent
b5b650cfe7
commit
305a059f58
@ -116,6 +116,7 @@
|
||||
(super) @keyword
|
||||
|
||||
(self) @variable.builtin
|
||||
(metavariable) @variable
|
||||
|
||||
[
|
||||
(char_literal)
|
||||
|
@ -5,7 +5,8 @@
|
||||
"operator" = "#dbbfef" # lilac
|
||||
# "property" = "#a4a0e8" # lavender
|
||||
"property" = "#ffffff" # white
|
||||
"variable" = "#a4a0e8" # lavender
|
||||
# "variable" = "#a4a0e8" # lavender
|
||||
"variable" = "#eccdba" # almond
|
||||
"variable.parameter" = "#a4a0e8" # lavender
|
||||
# TODO distinguish type from type.builtin?
|
||||
"type" = "#ffffff" # white
|
||||
|
Loading…
Reference in New Issue
Block a user