File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,11 @@ import LogType
49
49
50
50
-- | Wait for the next progress begin step
51
51
waitForProgressBegin :: Session ()
52
- waitForProgressBegin = skipManyTill anyMessage $ satisfyMaybe $ \ case
53
- FromServerMess SMethod_Progress (TNotificationMessage _ _ (ProgressParams _ v)) | Lens. is _workDoneProgressBegin v -> Just ()
54
- _ -> Nothing
52
+ waitForProgressBegin = do
53
+ setIgnoringProgressNotifications False
54
+ skipManyTill anyMessage $ satisfyMaybe $ \ case
55
+ FromServerMess SMethod_Progress (TNotificationMessage _ _ (ProgressParams _ v)) | Lens. is _workDoneProgressBegin v -> Just ()
56
+ _ -> Nothing
55
57
56
58
-- | Wait for the first progress end step
57
59
-- Also implemented in hls-test-utils Test.Hls
@@ -138,7 +140,7 @@ getConfigFromEnv = do
138
140
timeoutOverride <- fmap read <$> getEnv " LSP_TIMEOUT"
139
141
return defaultConfig
140
142
{ messageTimeout = fromMaybe (messageTimeout defaultConfig) timeoutOverride
141
- , ignoreProgressNotifications = False
143
+ -- , ignoreProgressNotifications = False
142
144
, logColor
143
145
}
144
146
where
You can’t perform that action at this time.
0 commit comments