Fix pug injection

This commit is contained in:
Stephan Seitz 2021-11-30 23:27:08 +01:00
parent 2c19f8984b
commit 675ecbb0bd
2 changed files with 5 additions and 2 deletions

View file

@ -25,3 +25,6 @@
(#match? @keyword "^(:|v-bind|v-|\\@)")
) @keyword
[
":"
] @punctuation.delimiter

View file

@ -30,8 +30,8 @@
(start_tag
(attribute
(quoted_attribute_value (attribute_value) @_lang)))
(raw_text) @pug)
(#match? @_lang "pug")
(text) @pug)
(#eq? @_lang "pug")
)
(comment) @comment