feat(bp): add support for Android Blueprint (#6626)

This commit is contained in:
Bruno BELANYI 2024-05-23 17:30:26 +02:00 committed by GitHub
parent 3e454836ce
commit 298a9dd4f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 125 additions and 0 deletions

55
queries/bp/highlights.scm Normal file
View file

@ -0,0 +1,55 @@
(comment) @comment @spell
(operator) @operator
(integer_literal
"-" @operator)
[
","
":"
] @punctuation.delimiter
[
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket
(boolean_literal) @boolean
(integer_literal) @number
[
(raw_string_literal)
(interpreted_string_literal)
] @string
(escape_sequence) @string.escape
(identifier) @variable
(module
type: (identifier) @function.call)
(module
(property
field: (identifier) @variable.parameter))
[
(unset)
(default)
] @variable.builtin
(condition
name: (identifier) @function.builtin)
(map_expression
(property
field: (identifier) @property))
(select_expression
"select" @keyword.conditional)