File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
plugins/hls-cabal-plugin/src/Ide/Plugin Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ import qualified Language.LSP.VFS as VFS
42
42
43
43
data Log
44
44
= LogModificationTime NormalizedFilePath (Maybe FileVersion )
45
- | LogDiagnostics NormalizedFilePath [FileDiagnostic ]
46
45
| LogShake Shake. Log
47
46
| LogDocOpened Uri
48
47
| LogDocModified Uri
@@ -55,8 +54,6 @@ instance Pretty Log where
55
54
LogShake log' -> pretty log'
56
55
LogModificationTime nfp modTime ->
57
56
" Modified:" <+> pretty (fromNormalizedFilePath nfp) <+> pretty (show modTime)
58
- LogDiagnostics nfp diags ->
59
- " Diagnostics for" <+> pretty (fromNormalizedFilePath nfp) <> " :" <+> pretty (show diags)
60
57
LogDocOpened uri ->
61
58
" Opened text document:" <+> pretty (getUri uri)
62
59
LogDocModified uri ->
@@ -145,10 +142,8 @@ cabalRules recorder = do
145
142
Left (_cabalVersion, pErrorNE) -> do
146
143
let errorDiags = NE. toList $ NE. map (Diagnostics. errorDiagnostic file) pErrorNE
147
144
allDiags = errorDiags <> warningDiags
148
- log' Debug $ LogDiagnostics file allDiags
149
145
pure (allDiags, Nothing )
150
146
Right _ -> do
151
- log' Debug $ LogDiagnostics file warningDiags
152
147
pure (warningDiags, Just () )
153
148
154
149
action $ do
You can’t perform that action at this time.
0 commit comments