You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"iffalse;thenecho'Just showing some further code'echo'Ooops!'fi
Screenshots
Working
Not working
System information
tree-sitter version 0.24.3
neovim version v0.10.2
Apologies if this was already reported.
The text was updated successfully, but these errors were encountered:
RoyalDonkey
changed the title
Incorrect highlighting on shell parameter expansion "${var#]}"
Incorrect highlighting on shell parameter expansion "${var%]}"Jan 12, 2025
The closing square bracket is what's causing the problem, even though it is legal syntax.
Minimal reproducible example
Screenshots
System information
tree-sitter version 0.24.3
neovim version v0.10.2
Apologies if this was already reported.
The text was updated successfully, but these errors were encountered: