Add 'any' highlighting

This commit is contained in:
Bruno BELANYI 2024-07-01 13:50:43 +00:00
parent 970241b323
commit 3e685cb691
2 changed files with 3 additions and 0 deletions

View file

@ -50,6 +50,7 @@
[
(unset)
(default)
(any)
] @variable.builtin
(condition
name: (identifier) @function.builtin)

View file

@ -2,6 +2,8 @@ foo = select(soong_config_variable("my_namespace", "my_var"), {
// ^ function.builtin
"foo": unset,
// ^ variable.builtin
any: unset,
// <- variable.builtin
default: select(variant("VARIANT"), {}),
// <- variable.builtin
// ^ function.builtin