Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ cabal.project.local

.tasty-rerun-log

# emacs
/.dir-locals.el

# shake build information
_build/

Expand Down
1 change: 1 addition & 0 deletions hls-plugin-api/src/Ide/Plugin/Config.hs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import Ide.Types
-- | Given a DidChangeConfigurationNotification message, this function returns the parsed
-- Config object if possible.
getConfigFromNotification :: IdePlugins s -> Config -> A.Value -> Either T.Text Config
getConfigFromNotification _ defaultValue A.Null = Right defaultValue
getConfigFromNotification plugins defaultValue p =
case A.parse (parseConfig plugins defaultValue) p of
A.Success c -> Right c
Expand Down
Loading