-
-
Notifications
You must be signed in to change notification settings - Fork 389
Improve error message when Brittany is selected as a formatter and server is built without -fagpl #269
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
Comments
Ah, for the Brittany formatter you need to build Haskell-language-server from source with the -fagpl cabal flag. You shouldn't need to add Brittany as a dependency to your project! The binaries are built without this for licensing reasons, but indeed the error message should be better about this. I'll convert this into a todo |
Indeed, works like a charm after adding |
Improve missing brittany format provider error message (#269)
I think this issue can be closed now. |
I try to replace Ormolu by Brittany, but I get this message:
Formatter plugin: no formatter found for:[brittany]
. I'm using Neovim + Coc, here my config:I tried to installed brittany globally and locally (inside my project), but I still get the same error. I'm using ghc
v8.8.4
with stackv2.3.1
.It could be interesting to add a tiny section about how to use a different formatting provider.
The text was updated successfully, but these errors were encountered: