aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/bash/double-parens.sh
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-11-27 12:55:59 +0100
committerStephan Seitz <stephan.seitz@fau.de>2021-11-28 15:01:24 +0100
commit28cc92a2f626c57ffd63644a3512268b480656ed (patch)
tree2d8549a46eab0c5272cc1ee861fe94d53ed0417b /tests/query/highlights/bash/double-parens.sh
parentfix: off-by-one errors in indent calculation (diff)
downloadnvim-treesitter-28cc92a2f626c57ffd63644a3512268b480656ed.tar
nvim-treesitter-28cc92a2f626c57ffd63644a3512268b480656ed.tar.gz
nvim-treesitter-28cc92a2f626c57ffd63644a3512268b480656ed.tar.bz2
nvim-treesitter-28cc92a2f626c57ffd63644a3512268b480656ed.tar.lz
nvim-treesitter-28cc92a2f626c57ffd63644a3512268b480656ed.tar.xz
nvim-treesitter-28cc92a2f626c57ffd63644a3512268b480656ed.tar.zst
nvim-treesitter-28cc92a2f626c57ffd63644a3512268b480656ed.zip
highlights(bash): highlight "((" "))"
Diffstat (limited to 'tests/query/highlights/bash/double-parens.sh')
-rw-r--r--tests/query/highlights/bash/double-parens.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/query/highlights/bash/double-parens.sh b/tests/query/highlights/bash/double-parens.sh
new file mode 100644
index 000000000..7ba35873e
--- /dev/null
+++ b/tests/query/highlights/bash/double-parens.sh
@@ -0,0 +1,6 @@
+if (( $(tree-sitter parse test/Petalisp/**/*.lisp -q | wc -l) > 2 )); then
+# ^ punctuation.bracket
+# ^ punctuation.bracket
+# ^ punctuation.bracket
+ exit 1
+fi