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-|\\@)") (#match? @keyword "^(:|v-bind|v-|\\@)")
) @keyword ) @keyword
[
":"
] @punctuation.delimiter

View file

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