mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
Fix pug injection
This commit is contained in:
parent
2c19f8984b
commit
675ecbb0bd
2 changed files with 5 additions and 2 deletions
|
|
@ -25,3 +25,6 @@
|
||||||
(#match? @keyword "^(:|v-bind|v-|\\@)")
|
(#match? @keyword "^(:|v-bind|v-|\\@)")
|
||||||
) @keyword
|
) @keyword
|
||||||
|
|
||||||
|
[
|
||||||
|
":"
|
||||||
|
] @punctuation.delimiter
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue