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.
"initializationOptions": null
1 parent 37d93f1 commit e4aec59Copy full SHA for e4aec59
hls-plugin-api/src/Ide/Plugin/Config.hs
@@ -27,6 +27,7 @@ import Ide.Types
27
-- | Given a DidChangeConfigurationNotification message, this function returns the parsed
28
-- Config object if possible.
29
getConfigFromNotification :: IdePlugins s -> Config -> A.Value -> Either T.Text Config
30
+getConfigFromNotification _ defaultValue A.Null = Right defaultValue
31
getConfigFromNotification plugins defaultValue p =
32
case A.parse (parseConfig plugins defaultValue) p of
33
A.Success c -> Right c
0 commit comments