diff --git a/Language/Haskell/GhcMod/Lint.hs b/Language/Haskell/GhcMod/Lint.hs index bdc9201..2b8af52 100644 --- a/Language/Haskell/GhcMod/Lint.hs +++ b/Language/Haskell/GhcMod/Lint.hs @@ -13,7 +13,7 @@ lintSyntax :: Options lintSyntax opt file = pack <$> lint hopts file where LineSeparator lsep = lineSeparator opt - pack = unlines . map (intercalate lsep . lines) + pack = convert opt . map (intercalate lsep . lines) hopts = hlintOpts opt -- | Checking syntax of a target file using hlint.