mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
(#eq? @variable.builtin "$implicit")))
|
||||
|
||||
[
|
||||
(control_keyword)
|
||||
(special_keyword)
|
||||
] @keyword
|
||||
|
||||
((control_keyword) @keyword.repeat
|
||||
(#any-of? @keyword.repeat "for" "empty"))
|
||||
|
||||
|
|
@ -68,8 +73,6 @@
|
|||
((control_keyword) @keyword.exception
|
||||
(#eq? @keyword.exception "error"))
|
||||
|
||||
(special_keyword) @keyword
|
||||
|
||||
((identifier) @boolean
|
||||
(#any-of? @boolean "true" "false"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue