mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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-|\\@)")
|
||||
) @keyword
|
||||
|
||||
[
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue