bash-language-server
bash-language-server copied to clipboard
Failed to parse expression ${#}
Hi,
the code snippet below generates Failed to parse expression error.
if [[ ${#} -eq 0 ]]; then
:
fi
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
This seems to have been fixed in the newer version of the grammar.