golang and sql linters/formatters, angular css injections, text visual

line movement
This commit is contained in:
2023-07-12 00:13:38 -05:00
parent 8d7a4720b9
commit af6015fab2
3 changed files with 45 additions and 1 deletions
+25
View File
@@ -8,3 +8,28 @@
(property_identifier) @_key
(template_string) @html)))))
(#eq? @_decorator "Component") (#eq? @_key "template"))
; angular inline styles
((decorator
(call_expression
(identifier) @_decorator
(arguments
(object
(pair
(property_identifier) @_key
(array
(string
(string_fragment) @css)))))))
(#eq? @_decorator "Component") (#eq? @_key "styles"))
; angular inline styles "template string"
((decorator
(call_expression
(identifier) @_decorator
(arguments
(object
(pair
(property_identifier) @_key
(array
(template_string) @css))))))
(#eq? @_decorator "Component") (#eq? @_key "styles"))