Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 25e1f76

Browse files
committed
Remove Bios plugin
No longer need to supply checkCmd (only JSON transport could previously use it)
1 parent 44c6fb3 commit 25e1f76

File tree

4 files changed

+1
-35
lines changed

4 files changed

+1
-35
lines changed

app/MainHie.hs

-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import System.IO
2626
import Haskell.Ide.Engine.Plugin.ApplyRefact
2727
import Haskell.Ide.Engine.Plugin.Brittany
2828
import Haskell.Ide.Engine.Plugin.Example2
29-
import Haskell.Ide.Engine.Plugin.Bios
3029
-- import Haskell.Ide.Engine.Plugin.HaRe
3130
import Haskell.Ide.Engine.Plugin.Haddock
3231
import Haskell.Ide.Engine.Plugin.HfaAlign
@@ -56,7 +55,6 @@ plugins includeExamples = pluginDescToIdePlugins allPlugins
5655
, packageDescriptor "package"
5756
, pragmasDescriptor "pragmas"
5857
, floskellDescriptor "floskell"
59-
, biosDescriptor "bios"
6058
, genericDescriptor "generic"
6159
]
6260
examplePlugins =

haskell-ide-engine.cabal

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ library
2828
Haskell.Ide.Engine.Plugin.Brittany
2929
Haskell.Ide.Engine.Plugin.Example2
3030
Haskell.Ide.Engine.Plugin.Floskell
31-
Haskell.Ide.Engine.Plugin.Bios
3231
-- Haskell.Ide.Engine.Plugin.HaRe
3332
Haskell.Ide.Engine.Plugin.Haddock
3433
Haskell.Ide.Engine.Plugin.HfaAlign

src/Haskell/Ide/Engine/Plugin/Bios.hs

-30
This file was deleted.

src/Haskell/Ide/Engine/Server.hs

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ import Haskell.Ide.Engine.PluginUtils
5353
import qualified Haskell.Ide.Engine.Scheduler as Scheduler
5454
import qualified Haskell.Ide.Engine.Support.HieExtras as Hie
5555
import Haskell.Ide.Engine.Types
56-
import qualified Haskell.Ide.Engine.Plugin.Bios as BIOS
5756
import Haskell.Ide.Engine.Version
5857
import qualified Language.Haskell.LSP.Control as CTRL
5958
import qualified Language.Haskell.LSP.Core as Core
@@ -927,7 +926,7 @@ requestDiagnosticsNormal tn file mVer = do
927926

928927
-- get GHC diagnostics and loads the typechecked module into the cache
929928
let reqg = GReq tn "typecheck" (Just file) (Just (file,ver)) Nothing callbackg mempty
930-
$ BIOS.setTypecheckedModule file
929+
$ HIE.setTypecheckedModule file
931930
callbackg (HIE.Diagnostics pd, errs) = do
932931
forM_ errs $ \e -> do
933932
reactorSend $ NotShowMessage $

0 commit comments

Comments
 (0)