-
-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brittany as invoked by haskell-language-server doesn't match local machine, formats badly #1533
Comments
|
Hi, thanks for your reply!
I do have a Here's what's inside.
|
@jlebar hi, thanks for the bug report, is still being reproduced with last versions of vscode extension and haskell-language-server? |
Hi, I've since moved on from my Haskell stint. Don't know if it's still happening at head and don't have this setup anymore. Sorry! |
no worries and thanks for the heads up, we will try to reproduce in our side |
I think some problems like this are inevitable given #411 ? |
Yeah it might be the cause, thanks for noting it |
Closing in favor of #411 |
I am finding that vscode-hie-server is formatting my code differently than when I invoke
brittany
locally.Here's me invoking it locally:
In contrast, when I format from the command palette, I get something way worse:
I am not sure what's going wrong here. Is vscode-hie-server invoking a rogue version of brittany on my machine? Could be. I tried all of the brittany binaries in
~/.stack
and they had the first formatting,find ~/.stack -name brittany | xargs -n1 -I{} sh -c '{} test.hs'
.The text was updated successfully, but these errors were encountered: