aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-12-06 13:54:14 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-12-06 14:04:19 +0100
commit41913a8d448f4f95a7819bfbc90ddf17b97cd84e (patch)
tree22316733e9f632a60302414fe5dda39389a0b4a6
parentfix(inko): downgrade parser (diff)
downloadnvim-treesitter-41913a8d448f4f95a7819bfbc90ddf17b97cd84e.tar
nvim-treesitter-41913a8d448f4f95a7819bfbc90ddf17b97cd84e.tar.gz
nvim-treesitter-41913a8d448f4f95a7819bfbc90ddf17b97cd84e.tar.bz2
nvim-treesitter-41913a8d448f4f95a7819bfbc90ddf17b97cd84e.tar.lz
nvim-treesitter-41913a8d448f4f95a7819bfbc90ddf17b97cd84e.tar.xz
nvim-treesitter-41913a8d448f4f95a7819bfbc90ddf17b97cd84e.tar.zst
nvim-treesitter-41913a8d448f4f95a7819bfbc90ddf17b97cd84e.zip
feat(bash): update parser
Breaking change: removed double parenthesis as valid opening to arithmetic expansion. (Only `$((` is allowed according to the manual.)
-rw-r--r--lua/nvim-treesitter/parsers.lua2
-rw-r--r--tests/query/highlights/bash/double-parens.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index 13b481140..2791d19a8 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -77,7 +77,7 @@ return {
},
bash = {
install_info = {
- revision = '20f55fb9663568f16ebceaac7673d2aa530add46',
+ revision = 'a06c2e4415e9bc0346c6b86d401879ffb44058f7',
url = 'https://github.com/tree-sitter/tree-sitter-bash',
},
maintainers = { '@TravonteD' },
diff --git a/tests/query/highlights/bash/double-parens.sh b/tests/query/highlights/bash/double-parens.sh
index 8d841d170..7f9209713 100644
--- a/tests/query/highlights/bash/double-parens.sh
+++ b/tests/query/highlights/bash/double-parens.sh
@@ -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