File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
ghcide/src/Development/IDE/Plugin Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,9 @@ extensiblePlugins defaultConfig xs = Plugin mempty handlers
143
143
let fs = filter (\ (pid,_) -> pluginEnabled m pid config) fs'
144
144
case nonEmpty fs of
145
145
Nothing -> pure $ Left $ ResponseError InvalidRequest
146
- (" No plugin enabled for " <> T. pack (show m) <> " , available: " <> T. pack (show $ map fst fs))
146
+ (" No plugin enabled for " <> T. pack (show m) <>
147
+ " , available: " <> T. pack (show $ map (\ (x@ (PluginId p),_) -> (p, x `elem` map fst fs)) xs) <>
148
+ " , config" <> T. pack (show config))
147
149
Nothing
148
150
Just fs -> do
149
151
let msg e pid = " Exception in plugin " <> T. pack (show pid) <> " while processing " <> T. pack (show m) <> " : " <> T. pack (show e)
You can’t perform that action at this time.
0 commit comments