File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
plugins/hls-stan-plugin/src/Ide/Plugin Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ import GHC.Generics (Generic)
2929import HieTypes (HieASTs , HieFile )
3030import Ide.Plugin.Config
3131import Ide.Types (PluginDescriptor (.. ),
32- PluginId ,
32+ PluginId , configHasDiagnostics ,
33+ defaultConfigDescriptor ,
3334 defaultPluginDescriptor ,
3435 pluginEnabledConfig )
3536import qualified Language.LSP.Types as LSP
@@ -42,7 +43,11 @@ import Stan.Observation (Observation (..))
4243
4344descriptor :: Recorder (WithPriority Log ) -> PluginId -> PluginDescriptor IdeState
4445descriptor recorder plId = (defaultPluginDescriptor plId)
45- {pluginRules = rules recorder plId}
46+ { pluginRules = rules recorder plId
47+ , pluginConfigDescriptor = defaultConfigDescriptor
48+ { configHasDiagnostics = True
49+ }
50+ }
4651
4752newtype Log = LogShake Shake. Log deriving (Show )
4853
You can’t perform that action at this time.
0 commit comments