We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fee511b + b7632ea commit fce5a9cCopy full SHA for fce5a9c
lsp/src/Language/LSP/Server/Processing.hs
@@ -151,7 +151,9 @@ initializeRequestHandler logger ServerDefinition{..} vfs sendFunc req = do
151
152
initialConfig <- case configObject of
153
Just o -> case parseConfig defaultConfig o of
154
- Right newConfig -> pure newConfig
+ Right newConfig -> do
155
+ liftIO $ logger <& (LspCore $ NewConfig o) `WithSeverity` Debug
156
+ pure newConfig
157
Left err -> do
158
-- Warn not error here, since initializationOptions is pretty unspecified
159
liftIO $ logger <& (LspCore $ ConfigurationParseError o err) `WithSeverity` Warning
0 commit comments