typescript treesitter injection for angular templates

This commit is contained in:
2023-06-23 19:51:54 -05:00
parent 356ed03d2f
commit ee951b099b
4 changed files with 33 additions and 17 deletions
+10
View File
@@ -0,0 +1,10 @@
; angular inline templates
((decorator
(call_expression
(identifier) @_decorator
(arguments
(object
(pair
(property_identifier) @_key
(template_string) @html)))))
(#eq? @_decorator "Component") (#eq? @_key "template"))