Skip to content

Commit 8deb61b

Browse files
committed
More
1 parent 0ca285e commit 8deb61b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-test/src/Language/LSP/Test/Session.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ updateStateC = awaitForever $ \msg -> do
316316
sendMessage $ TResponseMessage "2.0" (Just $ r ^. L.id) (Right $ ApplyWorkspaceEditResult True Nothing Nothing)
317317
FromServerMess SMethod_WorkspaceConfiguration r -> do
318318
let requestedSections = mapMaybe (\i -> i ^? L.section . _Just) $ r ^. L.params . L.items
319-
o <- curLspConfig <$> get @SessionState
319+
let o = curLspConfig state
320320
-- check for each requested section whether we have it
321321
let configsOrErrs = (flip fmap) requestedSections $ \section ->
322322
case o ^. at (fromString $ T.unpack section) of

0 commit comments

Comments
 (0)