File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1370,7 +1370,7 @@ defineEarlyCutoff' doDiagnostics cmp key file mbOld mode action = do
13701370 actionCtx <- ask
13711371 return $ Just $ RunResult ChangedNothing old (A v)
13721372 $ do
1373- writeTaskQueue diagQueue $ flip runActionMonad actionCtx $ doDiagnostics (vfsVersion =<< ver) $ Vector. toList diags
1373+ -- writeTaskQueue diagQueue $ flip runActionMonad actionCtx $ doDiagnostics (vfsVersion =<< ver) $ Vector.toList diags
13741374 return ()
13751375 _ -> return Nothing
13761376 _ ->
@@ -1496,7 +1496,6 @@ updateFileDiagnostics recorder fp ver k ShakeExtras{diagnostics, hiddenDiagnosti
14961496 let uri' = filePathToUri' fp
14971497 let delay = if null newDiags then 0.1 else 0
14981498 registerEvent debouncer delay uri' $ withTrace (" report diagnostics " <> fromString (fromNormalizedFilePath fp)) $ \ tag -> do
1499- -- do
15001499 join $ mask_ $ do
15011500 lastPublish <- atomicallyNamed " diagnostics - publish" $ STM. focus (Focus. lookupWithDefault [] <* Focus. insert newDiags) uri' publishedDiagnostics
15021501 let action = when (lastPublish /= newDiags) $ case lspEnv of
You can’t perform that action at this time.
0 commit comments