diff --git a/hls-stylish-haskell-plugin.cabal b/hls-stylish-haskell-plugin.cabal
--- a/hls-stylish-haskell-plugin.cabal
+++ b/hls-stylish-haskell-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.4
 name:               hls-stylish-haskell-plugin
-version:            2.1.0.0
+version:            2.2.0.0
 synopsis:           Integration with the Stylish Haskell code formatter
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -28,8 +28,8 @@
     , filepath
     , ghc
     , ghc-boot-th
-    , ghcide           == 2.1.0.0
-    , hls-plugin-api   == 2.1.0.0
+    , ghcide           == 2.2.0.0
+    , hls-plugin-api   == 2.2.0.0
     , lsp-types
     , mtl
     , stylish-haskell  ^>=0.12 || ^>=0.13 || ^>=0.14.2
@@ -47,4 +47,4 @@
     , base
     , filepath
     , hls-stylish-haskell-plugin
-    , hls-test-utils              == 2.1.0.0
+    , hls-test-utils              == 2.2.0.0
diff --git a/test/Main.hs b/test/Main.hs
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -22,7 +22,7 @@
   ]
 
 goldenWithStylishHaskell :: TestName -> FilePath -> FilePath -> (TextDocumentIdentifier -> Session ()) -> TestTree
-goldenWithStylishHaskell title fp desc = goldenWithHaskellDocFormatter stylishHaskellPlugin "stylishHaskell" def title testDataDir fp desc "hs"
+goldenWithStylishHaskell title fp desc = goldenWithHaskellDocFormatter def stylishHaskellPlugin "stylishHaskell" def title testDataDir fp desc "hs"
 
 testDataDir :: FilePath
 testDataDir = "test" </> "testdata"
