Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hie-vscode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ export HIE_SERVER_PATH=`which hie`
export HIE_WRAPPER_PATH=`which hie-wrapper`

if [ ! "X" = "X$HIE_WRAPPER_PATH" ]; then
hie-wrapper --lsp $@
hie-wrapper $@
elif [ "X" = "X$HIE_SERVER_PATH" ]; then
echo "Content-Length: 100\r\n\r"
echo '{"jsonrpc":"2.0","id":1,"error":{"code":-32099,"message":"Cannot find hie.exe in the path"}}'
exit 1
fi

# Run directly
hie --lsp $@
hie $@
#hie --lsp

# Run with a log
Expand Down