feat: add gstreamer pipeline syntax (gstlaunch)

This commit is contained in:
Stephan Seitz 2023-10-15 20:38:16 +02:00 committed by GitHub
parent 7eadc8715d
commit 159272a809
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -707,6 +707,14 @@ list.graphql = {
maintainers = { "@bkegley" },
}
list.gstlaunch = {
install_info = {
url = "https://github.com/theHamsta/tree-sitter-gstlaunch",
files = { "src/parser.c" },
},
maintainers = { "@theHamsta" },
}
list.hack = {
install_info = {
url = "https://github.com/slackhq/tree-sitter-hack",

View 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