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
declare -i SOMEVAR=0
# Hover and get references do not work with these statements
((++SOMEVAR))
((SOMEVAR++))
((SOMEVAR ++))
# But this works fine
((++ SOMEVAR))
Syntax-highlighting is also broken unless the fourth statement is used. Not sure if this means that it is a treesitter grammar issue and not a bashls issue.
Unfortunately shfmt also changes ((++ SOMEVAR)) to ((++SOMEVAR)).