Skip to content

Commit a67d8b0

Browse files
committed
pass the lspConfig at initialization time as well
This is needed in the ghcide benchmark suite because some of the Config options are not dynamic (checkParents in particular)
1 parent 13d1b6d commit a67d8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ runSessionWithHandles' serverProc serverIn serverOut config' caps rootDir sessio
199199
(Just lspTestClientInfo)
200200
(Just $ T.pack absRootDir)
201201
(Just $ filePathToUri absRootDir)
202-
Nothing
202+
(lspConfig config')
203203
caps
204204
(Just TraceOff)
205205
(List <$> initialWorkspaceFolders config)

0 commit comments

Comments
 (0)