injections(svelte): add pug injection

This commit is contained in:
ObserverOfTime 2023-02-11 23:14:54 +02:00 committed by Stephan Seitz
parent dd600cf1c2
commit 5b71f2674a

View file

@ -26,3 +26,15 @@
(#eq? @_attr "lang")
(#any-of? @_lang "ts" "typescript")
)
(
(element
(start_tag
(attribute
(attribute_name) @_attr
(quoted_attribute_value
(attribute_value) @_lang)))
(text) @pug)
(#eq? @_attr "lang")
(#eq? @_lang "pug")
)