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) (unset)
(default) (default)
(any)
] @variable.builtin ] @variable.builtin
(condition (condition
name: (identifier) @function.builtin) name: (identifier) @function.builtin)

View file

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