diff options
| author | ricardo.demeterko <ninodemeterko@hotmail.com> | 2024-10-01 10:57:00 -0300 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-10-02 15:37:24 +0200 |
| commit | 98a33cc524c85a78a1ff5a707998629b24cbf8c2 (patch) | |
| tree | b5b568d96d74fca773063be9c95cfffb536164c4 /queries/angular | |
| parent | bot(lockfile): update erlang, mlir, nickel, nix, php, php_only, readline, sca... (diff) | |
| download | nvim-treesitter-98a33cc524c85a78a1ff5a707998629b24cbf8c2.tar nvim-treesitter-98a33cc524c85a78a1ff5a707998629b24cbf8c2.tar.gz nvim-treesitter-98a33cc524c85a78a1ff5a707998629b24cbf8c2.tar.bz2 nvim-treesitter-98a33cc524c85a78a1ff5a707998629b24cbf8c2.tar.lz nvim-treesitter-98a33cc524c85a78a1ff5a707998629b24cbf8c2.tar.xz nvim-treesitter-98a33cc524c85a78a1ff5a707998629b24cbf8c2.tar.zst nvim-treesitter-98a33cc524c85a78a1ff5a707998629b24cbf8c2.zip | |
feat(angular): update highlight query
Diffstat (limited to 'queries/angular')
| -rw-r--r-- | queries/angular/highlights.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/queries/angular/highlights.scm b/queries/angular/highlights.scm index 07b59517c..3783933f8 100644 --- a/queries/angular/highlights.scm +++ b/queries/angular/highlights.scm @@ -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")) |
