File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
plugins/hls-hlint-plugin/src/Ide/Plugin Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import Control.Monad.IO.Class
2424import Control.Monad.Trans.Except
2525import Data.Aeson.Types (ToJSON (.. ), FromJSON (.. ), Value (.. ))
2626import Data.Binary
27+ import Data.Default
2728import Data.Hashable
2829import qualified Data.HashMap.Strict as Map
2930import Data.Maybe
@@ -102,7 +103,7 @@ type instance RuleResult GetHlintDiagnostics = ()
102103rules :: PluginId -> Rules ()
103104rules plugin = do
104105 define $ \ GetHlintDiagnostics file -> do
105- config <- getClientConfigAction
106+ config <- getClientConfigAction def
106107 let pluginConfig = configForPlugin config plugin
107108 let hlintOn' = hlintOn config && pluginEnabled pluginConfig plcDiagnosticsOn
108109 ideas <- if hlintOn' then getIdeas file else return (Right [] )
You can’t perform that action at this time.
0 commit comments