bash-language-server
bash-language-server copied to clipboard
Failed to parse expression $(( ))
Hi,
the code snippets below generates Failed to parse expression errors.
running_status_current_length=$(( (running_status_current_length + 1) % running_status_max_length ))
local number_of_lines=$(( (1 + 1 + number_of_systems) * number_of_transports ))
Attaching screenshot to see what exactly it cannot parse.

Thanks for reporting this issue. It seems to be a grammar issue.
Can you create an issue over here: https://github.com/tree-sitter/tree-sitter-bash

second this.
This seems to have been fixed in the newer version of the grammar.