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 9891292 commit 7b825b6Copy full SHA for 7b825b6
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