File tree 1 file changed +7
-2
lines changed
plugins/hls-stan-plugin/src/Ide/Plugin
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)
29
29
import HieTypes (HieASTs , HieFile )
30
30
import Ide.Plugin.Config
31
31
import Ide.Types (PluginDescriptor (.. ),
32
- PluginId ,
32
+ PluginId , configHasDiagnostics ,
33
+ defaultConfigDescriptor ,
33
34
defaultPluginDescriptor ,
34
35
pluginEnabledConfig )
35
36
import qualified Language.LSP.Types as LSP
@@ -42,7 +43,11 @@ import Stan.Observation (Observation (..))
42
43
43
44
descriptor :: Recorder (WithPriority Log ) -> PluginId -> PluginDescriptor IdeState
44
45
descriptor recorder plId = (defaultPluginDescriptor plId)
45
- {pluginRules = rules recorder plId}
46
+ { pluginRules = rules recorder plId
47
+ , pluginConfigDescriptor = defaultConfigDescriptor
48
+ { configHasDiagnostics = True
49
+ }
50
+ }
46
51
47
52
newtype Log = LogShake Shake. Log deriving (Show )
48
53
You can’t perform that action at this time.
0 commit comments