Skip to content

Commit 19aed40

Browse files
committed
cleanup
1 parent de6618b commit 19aed40

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lsp/src/Language/LSP/Server/Processing.hs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ import Language.LSP.Protocol.Utils.SMethodMap qualified as SMethodMap
5959
import Language.LSP.Server.Core
6060
import Language.LSP.VFS as VFS
6161
import Prettyprinter
62-
import UnliftIO (race)
6362

6463
data LspProcessingLog
6564
= VfsLog VfsLog
@@ -69,19 +68,13 @@ data LspProcessingLog
6968
| ProgressCancel ProgressToken
7069
| forall m. MessageDuringShutdown (SClientMethod m)
7170
| ShuttingDown
72-
| ShuttingDownSenderTimeout !Int
7371
| Exiting
7472

7573
deriving instance Show LspProcessingLog
7674

7775
instance Pretty LspProcessingLog where
7876
pretty (VfsLog l) = pretty l
7977
pretty (LspCore l) = pretty l
80-
pretty (ShuttingDownSenderTimeout sec) =
81-
vsep
82-
[ "LSP: sender did not shut down within" <+> pretty sec <+> "seconds"
83-
, "This likely indicates a broken pipe, and the server should exit now"
84-
]
8578
pretty (MessageProcessingError bs err) =
8679
vsep
8780
[ "LSP: incoming message parse error:"

0 commit comments

Comments
 (0)