Skip to content

Commit a824263

Browse files
committed
fix Hlint
1 parent 167eee0 commit a824263

File tree

1 file changed

+1
-1
lines changed
  • plugins/hls-hlint-plugin/src/Ide/Plugin

1 file changed

+1
-1
lines changed

plugins/hls-hlint-plugin/src/Ide/Plugin/Hlint.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ type instance RuleResult GetHlintDiagnostics = ()
102102
rules :: PluginId -> Rules ()
103103
rules plugin = do
104104
define $ \GetHlintDiagnostics file -> do
105-
config <- getClientConfigAction
105+
config <- getClientConfigAction def
106106
let pluginConfig = configForPlugin config plugin
107107
let hlintOn' = hlintOn config && pluginEnabled pluginConfig plcDiagnosticsOn
108108
ideas <- if hlintOn' then getIdeas file else return (Right [])

0 commit comments

Comments
 (0)