diff --git a/hls-ormolu-plugin.cabal b/hls-ormolu-plugin.cabal
--- a/hls-ormolu-plugin.cabal
+++ b/hls-ormolu-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.4
 name:               hls-ormolu-plugin
-version:            1.0.1.0
+version:            1.0.1.1
 synopsis:           Integration with the Ormolu code formatter
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -24,30 +24,14 @@
     , filepath
     , ghc
     , ghc-boot-th
-    , ghcide          >=1.2   && <1.5
+    , ghcide          >=1.2   && <1.6
     , hls-plugin-api  >=1.1   && <1.3
     , lens
     , lsp
-    , ormolu          ^>=0.1.2 || ^>= 0.2
+    , ormolu          ^>=0.1.2 || ^>= 0.2 || ^>= 0.3
     , text
 
   default-language: Haskell2010
-
-  if impl(ghc < 8.10.5)
-    build-depends:
-      ghc-api-compat ==8.6
-  elif impl(ghc == 8.10.5)
-    build-depends:
-      ghc-api-compat ==8.10.5
-  elif impl(ghc == 8.10.6)
-    build-depends:
-      ghc-api-compat ==8.10.6
-  elif impl(ghc == 8.10.7)
-    build-depends:
-      ghc-api-compat ==8.10.7
-  elif impl(ghc == 9.0.1)
-    build-depends:
-      ghc-api-compat ==9.0.1
 
 test-suite tests
   type:             exitcode-stdio-1.0
diff --git a/src/Ide/Plugin/Ormolu.hs b/src/Ide/Plugin/Ormolu.hs
--- a/src/Ide/Plugin/Ormolu.hs
+++ b/src/Ide/Plugin/Ormolu.hs
@@ -7,21 +7,20 @@
   )
 where
 
-import           Control.Exception           (try)
-import           Control.Monad.IO.Class      (liftIO)
-import qualified Data.Text                   as T
-import           Development.IDE             hiding (pluginHandlers)
-import           Development.IDE.GHC.Compat  (moduleNameString)
-import qualified DynFlags                    as D
-import qualified EnumSet                     as S
+import           Control.Exception               (try)
+import           Control.Monad.IO.Class          (liftIO)
+import qualified Data.Text                       as T
+import           Development.IDE                 hiding (pluginHandlers)
+import           Development.IDE.GHC.Compat      (moduleNameString, hsc_dflags)
+import qualified Development.IDE.GHC.Compat      as D
+import qualified Development.IDE.GHC.Compat.Util as S
 import           GHC.LanguageExtensions.Type
-import           GhcPlugins                  (HscEnv (hsc_dflags))
 import           Ide.PluginUtils
 import           Ide.Types
-import           Language.LSP.Server         hiding (defaultConfig)
+import           Language.LSP.Server             hiding (defaultConfig)
 import           Language.LSP.Types
 import           Ormolu
-import           System.FilePath             (takeFileName)
+import           System.FilePath                 (takeFileName)
 
 -- ---------------------------------------------------------------------
 
