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.
1 parent 167eee0 commit a824263Copy full SHA for a824263
plugins/hls-hlint-plugin/src/Ide/Plugin/Hlint.hs
@@ -102,7 +102,7 @@ type instance RuleResult GetHlintDiagnostics = ()
102
rules :: PluginId -> Rules ()
103
rules plugin = do
104
define $ \GetHlintDiagnostics file -> do
105
- config <- getClientConfigAction
+ config <- getClientConfigAction def
106
let pluginConfig = configForPlugin config plugin
107
let hlintOn' = hlintOn config && pluginEnabled pluginConfig plcDiagnosticsOn
108
ideas <- if hlintOn' then getIdeas file else return (Right [])
0 commit comments