mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat(angular): update highlight query
This commit is contained in:
parent
3af8476530
commit
98a33cc524
1 changed files with 5 additions and 2 deletions
|
|
@ -56,6 +56,11 @@
|
||||||
key: ((identifier) @variable.builtin
|
key: ((identifier) @variable.builtin
|
||||||
(#eq? @variable.builtin "$implicit")))
|
(#eq? @variable.builtin "$implicit")))
|
||||||
|
|
||||||
|
[
|
||||||
|
(control_keyword)
|
||||||
|
(special_keyword)
|
||||||
|
] @keyword
|
||||||
|
|
||||||
((control_keyword) @keyword.repeat
|
((control_keyword) @keyword.repeat
|
||||||
(#any-of? @keyword.repeat "for" "empty"))
|
(#any-of? @keyword.repeat "for" "empty"))
|
||||||
|
|
||||||
|
|
@ -68,8 +73,6 @@
|
||||||
((control_keyword) @keyword.exception
|
((control_keyword) @keyword.exception
|
||||||
(#eq? @keyword.exception "error"))
|
(#eq? @keyword.exception "error"))
|
||||||
|
|
||||||
(special_keyword) @keyword
|
|
||||||
|
|
||||||
((identifier) @boolean
|
((identifier) @boolean
|
||||||
(#any-of? @boolean "true" "false"))
|
(#any-of? @boolean "true" "false"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue