From e1d64e67a2ee33ccbd64c56e7540d458ba7c1f5d Mon Sep 17 00:00:00 2001 From: Dennis van den Berg Date: Thu, 4 Dec 2025 09:06:08 +0100 Subject: [PATCH] fix(angular): Add style_unit highlight group and update parser --- lua/nvim-treesitter/parsers.lua | 2 +- runtime/queries/angular/highlights.scm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 49d2a3bed..749f7c6ec 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -18,7 +18,7 @@ return { }, angular = { install_info = { - revision = '56fffa8c9ea7389cb2237f4a01c4a2058ac64416', + revision = 'd2f388435b062fdd6b3c386db6c23db2da67e578', url = 'https://github.com/dlvandenberg/tree-sitter-angular', }, maintainers = { '@dlvandenberg' }, diff --git a/runtime/queries/angular/highlights.scm b/runtime/queries/angular/highlights.scm index 4793745b4..ad192329a 100644 --- a/runtime/queries/angular/highlights.scm +++ b/runtime/queries/angular/highlights.scm @@ -2,6 +2,8 @@ (identifier) @variable +(style_unit) @variable + (pipe_operator) @operator (string) @string