mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
feat: add gstreamer pipeline syntax (gstlaunch)
This commit is contained in:
parent
7eadc8715d
commit
159272a809
2 changed files with 40 additions and 0 deletions
|
|
@ -707,6 +707,14 @@ list.graphql = {
|
||||||
maintainers = { "@bkegley" },
|
maintainers = { "@bkegley" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
list.gstlaunch = {
|
||||||
|
install_info = {
|
||||||
|
url = "https://github.com/theHamsta/tree-sitter-gstlaunch",
|
||||||
|
files = { "src/parser.c" },
|
||||||
|
},
|
||||||
|
maintainers = { "@theHamsta" },
|
||||||
|
}
|
||||||
|
|
||||||
list.hack = {
|
list.hack = {
|
||||||
install_info = {
|
install_info = {
|
||||||
url = "https://github.com/slackhq/tree-sitter-hack",
|
url = "https://github.com/slackhq/tree-sitter-hack",
|
||||||
|
|
|
||||||
32
queries/gstlaunch/highlights.scm
Normal file
32
queries/gstlaunch/highlights.scm
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
[
|
||||||
|
"!"
|
||||||
|
"="
|
||||||
|
] @operator
|
||||||
|
|
||||||
|
[
|
||||||
|
","
|
||||||
|
"."
|
||||||
|
";"
|
||||||
|
"/"
|
||||||
|
] @punctuation.delimiter
|
||||||
|
|
||||||
|
[
|
||||||
|
"("
|
||||||
|
")"
|
||||||
|
] @punctuation.bracket
|
||||||
|
|
||||||
|
(property
|
||||||
|
key: (identifier) @field)
|
||||||
|
(value) @string
|
||||||
|
(string_literal) @string
|
||||||
|
(cap
|
||||||
|
.
|
||||||
|
(identifier) @string
|
||||||
|
.
|
||||||
|
(identifier) @string)
|
||||||
|
(simple_element
|
||||||
|
type: (_) @type)
|
||||||
|
(bin
|
||||||
|
type: (_) @type)
|
||||||
|
|
||||||
|
(ERROR) @error
|
||||||
Loading…
Add table
Add a link
Reference in a new issue