mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 00:10:04 -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
|
|
@ -424,6 +424,7 @@ We are looking for maintainers to add more parsers and to write query files for
|
||||||
- [x] [uxn tal](https://github.com/amaanq/tree-sitter-uxntal) (maintained by @amaanq)
|
- [x] [uxn tal](https://github.com/amaanq/tree-sitter-uxntal) (maintained by @amaanq)
|
||||||
- [x] [v](https://github.com/vlang/v-analyzer) (maintained by @kkharji, @amaanq)
|
- [x] [v](https://github.com/vlang/v-analyzer) (maintained by @kkharji, @amaanq)
|
||||||
- [x] [vala](https://github.com/vala-lang/tree-sitter-vala) (maintained by @Prince781)
|
- [x] [vala](https://github.com/vala-lang/tree-sitter-vala) (maintained by @Prince781)
|
||||||
|
- [x] [vento](https://github.com/ventojs/tree-sitter-vento) (maintained by @wrapperup, @oscarotero)
|
||||||
- [x] [verilog](https://github.com/tree-sitter/tree-sitter-verilog) (maintained by @zegervdv)
|
- [x] [verilog](https://github.com/tree-sitter/tree-sitter-verilog) (maintained by @zegervdv)
|
||||||
- [x] [vhs](https://github.com/charmbracelet/tree-sitter-vhs) (maintained by @caarlos0)
|
- [x] [vhs](https://github.com/charmbracelet/tree-sitter-vhs) (maintained by @caarlos0)
|
||||||
- [x] [vim](https://github.com/neovim/tree-sitter-vim) (maintained by @clason)
|
- [x] [vim](https://github.com/neovim/tree-sitter-vim) (maintained by @clason)
|
||||||
|
|
|
||||||
|
|
@ -752,6 +752,9 @@
|
||||||
"vala": {
|
"vala": {
|
||||||
"revision": "8f690bfa639f2b83d1fb938ed3dd98a7ba453e8b"
|
"revision": "8f690bfa639f2b83d1fb938ed3dd98a7ba453e8b"
|
||||||
},
|
},
|
||||||
|
"vento": {
|
||||||
|
"revision": "c1eb14b130c37267be7c6bb38ce949c3077dd4b3"
|
||||||
|
},
|
||||||
"verilog": {
|
"verilog": {
|
||||||
"revision": "2dfddfcb891f74a1cdb9d8ce480a997d11846e17"
|
"revision": "2dfddfcb891f74a1cdb9d8ce480a997d11846e17"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -2183,6 +2183,15 @@ list.vala = {
|
||||||
maintainers = { "@Prince781" },
|
maintainers = { "@Prince781" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
list.vento = {
|
||||||
|
install_info = {
|
||||||
|
url = "https://github.com/ventojs/tree-sitter-vento",
|
||||||
|
files = { "src/parser.c", "src/scanner.c" },
|
||||||
|
},
|
||||||
|
filetype = "vto",
|
||||||
|
maintainers = { "@wrapperup", "@oscarotero" },
|
||||||
|
}
|
||||||
|
|
||||||
list.verilog = {
|
list.verilog = {
|
||||||
install_info = {
|
install_info = {
|
||||||
url = "https://github.com/tree-sitter/tree-sitter-verilog",
|
url = "https://github.com/tree-sitter/tree-sitter-verilog",
|
||||||
|
|
|
||||||
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