We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cd28fe commit af0dda4Copy full SHA for af0dda4
ghcide/src/Development/IDE/Plugin/HLS.hs
@@ -143,7 +143,9 @@ extensiblePlugins defaultConfig xs = Plugin mempty handlers
143
let fs = filter (\(pid,_) -> pluginEnabled m pid config) fs'
144
case nonEmpty fs of
145
Nothing -> pure $ Left $ ResponseError InvalidRequest
146
- ("No plugin enabled for " <> T.pack (show m) <> ", available: " <> T.pack (show $ map fst fs))
+ ("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))
149
Nothing
150
Just fs -> do
151
let msg e pid = "Exception in plugin " <> T.pack (show pid) <> "while processing " <> T.pack (show m) <> ": " <> T.pack (show e)
0 commit comments