mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
Feat: Added Pug parser with inital queries
This commit is contained in:
parent
81d4077fa0
commit
dec2ba27a8
5 changed files with 53 additions and 0 deletions
7
queries/pug/injections.scm
Normal file
7
queries/pug/injections.scm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(javascript) @javascript
|
||||
|
||||
(
|
||||
(attribute_name) @_attribute_name
|
||||
(quoted_attribute_value (attribute_value ) @javascript)
|
||||
(#match? @_attribute_name "^(:|v-bind|v-|\\@)")
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue