mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 14:00:00 -04:00
feat: add vento support (#6261)
This commit is contained in:
parent
e6d80e5efd
commit
2014f8285e
5 changed files with 35 additions and 0 deletions
13
queries/vento/highlights.scm
Normal file
13
queries/vento/highlights.scm
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
(comment) @comment @spell
|
||||
|
||||
(keyword) @keyword
|
||||
|
||||
(tag
|
||||
[
|
||||
"{{"
|
||||
"{{-"
|
||||
"}}"
|
||||
"-}}"
|
||||
] @punctuation.special)
|
||||
|
||||
"|>" @operator
|
||||
9
queries/vento/injections.scm
Normal file
9
queries/vento/injections.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((content) @injection.content
|
||||
(#set! injection.language "html")
|
||||
(#set! injection.combined))
|
||||
|
||||
((code) @injection.content
|
||||
(#set! injection.language "javascript"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue