feat(bash): update parser

Breaking change: removed double parenthesis as valid opening to
arithmetic expansion. (Only `$((` is allowed according to the manual.)
This commit is contained in:
Christian Clason
2025-12-06 13:54:14 +01:00
committed by Christian Clason
parent 596923959a
commit 41913a8d44
2 changed files with 5 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ return {
},
bash = {
install_info = {
revision = '20f55fb9663568f16ebceaac7673d2aa530add46',
revision = 'a06c2e4415e9bc0346c6b86d401879ffb44058f7',
url = 'https://github.com/tree-sitter/tree-sitter-bash',
},
maintainers = { '@TravonteD' },

View File

@@ -1,6 +1,6 @@
if (( $(tree-sitter parse test/Petalisp/**/*.lisp -q | wc -l) > 2 )); then
# ^ @punctuation.special
# ^ @punctuation.special
# ^ @punctuation.bracket
if $(( $(tree-sitter parse test/Petalisp/**/*.lisp -q | wc -l) > 2 )); then
# ^ @punctuation.special
# ^ @punctuation.special
# ^ @punctuation.bracket
exit 1
fi