on master help sign in
hie-core: Remove code pretty printing from diagnostic output (#2810)
7e31d3ejacg
src/Development/IDE/Types/Diagnostics.hs−1
@@ -80,7 +80,6 @@ prettyDiagnostic (fp, LSP.Diagnostic{..}) =
80 LSP.DsInfo -> annotate $ color Blue
80 LSP.DsInfo -> annotate $ color Blue
81 LSP.DsHint -> annotate $ color Magenta
81 LSP.DsHint -> annotate $ color Magenta
82 $ stringParagraphs _message
82 $ stringParagraphs _message
83− , slabel_ "Code:" $ pretty _code
84 ]
83 ]
85 where
84 where
86 sev = fromMaybe LSP.DsError _severity
85 sev = fromMaybe LSP.DsError _severity