Add subsitution to bracket highlights in bash

main
trivernis 5 months ago
parent d3fbca924b
commit e7f87c24e3
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -169,10 +169,9 @@ roots = []
grammar = "jora" grammar = "jora"
[[grammar]] # [[grammar]]
name = "jora" # name = "jora"
# source = { git = "git@gitlab.unitb.com:jri/tree-sitter-jora.git", rev = "3c65fd8a368818a2300ac4dee8f4801db9dd28e1" } # source = { git = "git@gitlab.unitb.com:jri/tree-sitter-jora.git", rev = "3c65fd8a368818a2300ac4dee8f4801db9dd28e1" }
source = { path = "/home/jri/Dokumente/Programming/sonstiges/tree-sitter-jora"}
[[language]] [[language]]

@ -64,6 +64,12 @@
(expansion_flags) (expansion_flags)
] @operator ] @operator
[
"{"
"}"
"${"
] @punctuation.bracket
( (
(command (_) @constant) (command (_) @constant)
(#match? @constant "^-") (#match? @constant "^-")

Loading…
Cancel
Save