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
Some way to handle the errors ormolu sends when the code is malformed (probably something ormolu should handle on their end) or handle lsp time outs from formatting.
Provide background
Using hls leads to timeouts when the buffer has really malformed code (this is the fault of ormolu sending stdout errors). I have a habit of saving too often and at random times, basically whenever I move my head from my monitor so I get this slow-down each time. It would be nice to be able to handle these ormolu errors somehow. I just added an ormolu formatter for the time being which doesn't get rid of the errors but it does mean I can save without a timeout delay.
What is the significance of this feature?
nice to have
Additional details
If I should report an issue or feature request to the ormolu repo lmk and I won't waste peoples' time here. Or if I am doing something wrong then please correct me.
The text was updated successfully, but these errors were encountered:
* feat: add ormolu formatter for Haskell (#377)
* add ormolu references to README.md and doc/conform.txt
* revert wrong auto typo fix by codespell
* update meta field in the formatter
* doc: typo
---------
Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
Did you check existing requests?
Describe the feature
Some way to handle the errors ormolu sends when the code is malformed (probably something ormolu should handle on their end) or handle lsp time outs from formatting.
Provide background
Using hls leads to timeouts when the buffer has really malformed code (this is the fault of ormolu sending stdout errors). I have a habit of saving too often and at random times, basically whenever I move my head from my monitor so I get this slow-down each time. It would be nice to be able to handle these ormolu errors somehow. I just added an ormolu formatter for the time being which doesn't get rid of the errors but it does mean I can save without a timeout delay.
What is the significance of this feature?
nice to have
Additional details
If I should report an issue or feature request to the ormolu repo lmk and I won't waste peoples' time here. Or if I am doing something wrong then please correct me.
The text was updated successfully, but these errors were encountered: