Closed
Description
For any module with a CPP language pragma, the Ormolu formatter fails with:
2020-07-27 20:25:20.119291 [ThreadId 67857] - finish: Ormolu (took 0.00s)
2020-07-27 20:25:20.120322 [ThreadId 7] - <--2--{"error":{"code":-32602,"message":"ormoluCmd: OrmoluUnrecognizedOpts (\"-XCpp\" :| [])"},"jsonrpc":"2.0","id":825}
[Error - 8:25:20 PM] Request textDocument/formatting failed.
Message: ormoluCmd: OrmoluUnrecognizedOpts ("-XCpp" :| [])
Code: -32602
Command line Ormolu succeeds, so this is an HLS bug
Metadata
Metadata
Assignees
Labels
No labels