Closed
Description
I have no idea what changed. The autoformat command was working one day, stopped working the next.
When I run the format command in vscode, I see this in the Haskell output tab:
2023-06-22T18:35:59.131211Z | Warning | No plugin enabled for STextDocumentFormatting
[Warn - 12:35:59 PM] No plugin enabled for STextDocumentFormatting
[Error - 12:35:59 PM] Request textDocument/formatting failed.
Message: No plugin enabled for STextDocumentFormatting, available: cabalfmt
Code: -32600
An example environment can be found here - https://github.com/typeclasses/integer-types/tree/b8ec4030f0e7ca0160b4f83b8334bd21a7938855 - Nix+direnv will install haskell-language-server et al.
My "formatting provider" is set to "ormolu." Ormolu is on the PATH. I notice that the setting description includes has a note says "Ensure the plugin is enabled." but it doesn't say what plugin to enable.