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
I'm using tree-sitter-bash through bash-language-server => w0rp/ale on VIM and I have a case statement that uses a fallthrough terminator similar to the following.
case"$1"in
init) echo"here is where I would do some init"exit;;
--help | -h)
;;&
*) print_usage
exit;;
esac
Perhaps there is a better way to do the above but this is just a simple example to reproduce the issue. I should also note that the script runs fine when executed in the terminal.
The errors that are reported are: Syntax error: expected "esac" somewhere in the file (on line ;;&) and Failed to parse expression (on line *) print_usage)
I'm not sure if these are coming from bash-language-server/tree-sitter or are generic ALE errors (I ran :ALEInfo and do not see these errors printed anywhere)
The text was updated successfully, but these errors were encountered:
I'm using
tree-sitter-bash
throughbash-language-server
=>w0rp/ale
onVIM
and I have a case statement that uses a fallthrough terminator similar to the following.Perhaps there is a better way to do the above but this is just a simple example to reproduce the issue. I should also note that the script runs fine when executed in the terminal.
The errors that are reported are:
Syntax error: expected "esac" somewhere in the file
(on line;;&
) andFailed to parse expression
(on line*) print_usage
)I'm not sure if these are coming from bash-language-server/tree-sitter or are generic ALE errors (I ran :ALEInfo and do not see these errors printed anywhere)
The text was updated successfully, but these errors were encountered: