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
Describe the bug
This is a technical question, maybe a bug in documentation.
I can't figure out on my own how to:
enable BangPatterns (etc.) without putting it in every file
PR #157 marked many related issues solved, but BangPatterns seems not working still, and I don't know how to tell ormolu about it, as the configuration seems removed. (my .cabal file already has it for the record)
Or it can only be enabled by putting pragma per source file, I think it's better stated in some obvious where.
To Reproduce
Let ormolu format a file with BangPatterns syntax, but no language pragma in that file. Such a file normally exists in a project with .cabal file stating what language extensions are enabled.
Expected behavior
Format without err out.
Environment
Any
Additional context
No
The text was updated successfully, but these errors were encountered:
And I'm working from VSCode with HLS, it has "ormolu" as an option under "Formatting Provider", but seems no cmdl conf options there, maybe I should file an issue there.
Describe the bug
This is a technical question, maybe a bug in documentation.
I can't figure out on my own how to:
PR #157 marked many related issues solved, but BangPatterns seems not working still, and I don't know how to tell ormolu about it, as the configuration seems removed. (my .cabal file already has it for the record)
Or it can only be enabled by putting pragma per source file, I think it's better stated in some obvious where.
To Reproduce
Let ormolu format a file with BangPatterns syntax, but no language pragma in that file. Such a file normally exists in a project with .cabal file stating what language extensions are enabled.
Expected behavior
Format without err out.
Environment
Any
Additional context
No
The text was updated successfully, but these errors were encountered: