typescript treesitter injection for angular templates
This commit is contained in:
@@ -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"))
|
||||
Reference in New Issue
Block a user