Open
Description
The closing square bracket is what's causing the problem, even though it is legal syntax.
Minimal reproducible example
#!/bin/bash
a='abc[]'
a="${a%]}"
printf "Something broke here!\n"
if false; then
echo 'Just showing some further code'
echo 'Ooops!'
fi
Screenshots
System information
tree-sitter version 0.24.3
neovim version v0.10.2
Apologies if this was already reported.
Metadata
Metadata
Assignees
Labels
No labels