aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis van den Berg <dennis.vandenberg@nedap.com>2025-12-04 10:42:01 +0100
committerGitHub <noreply@github.com>2025-12-04 10:42:01 +0100
commit75797cdd8ac125c7ace065b17788b439dcf89a71 (patch)
tree0e25bf70225c21f9c2d11328ee3970e811d3c337
parentfix(fennel): highlight `$[1-9]` in multi-symbol context properly (diff)
downloadnvim-treesitter-75797cdd8ac125c7ace065b17788b439dcf89a71.tar
nvim-treesitter-75797cdd8ac125c7ace065b17788b439dcf89a71.tar.gz
nvim-treesitter-75797cdd8ac125c7ace065b17788b439dcf89a71.tar.bz2
nvim-treesitter-75797cdd8ac125c7ace065b17788b439dcf89a71.tar.lz
nvim-treesitter-75797cdd8ac125c7ace065b17788b439dcf89a71.tar.xz
nvim-treesitter-75797cdd8ac125c7ace065b17788b439dcf89a71.tar.zst
nvim-treesitter-75797cdd8ac125c7ace065b17788b439dcf89a71.zip
feat(angular): add style_unit highlighting(#8312)
-rw-r--r--lua/nvim-treesitter/parsers.lua2
-rw-r--r--runtime/queries/angular/highlights.scm2
2 files changed, 3 insertions, 1 deletions
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