nvim-treesitter/tests/indent/bash/test.sh
Sten Laane 4337799162 feat(bash): add indents query
It's pretty basic at the moment but already makes working with bash
scripts way easier.
2026-01-03 11:29:39 +01:00

39 lines
364 B
Bash

for i in 1 2 3; do
if [[ true ]]; then
echo "asd"
elif [ true ]; then
echo "dsa"
else
echo ""
fi
echo $i
done
while true; do
break
done
case $foo in
a) echo a ;;
b) echo b ;;
esac
function x() {
echo x
}
y() {
echo y
}
{
echo z
}
(
echo subshell
)
A=$(
echo command substitution
)