diff --git a/hls-plugin-api.cabal b/hls-plugin-api.cabal
--- a/hls-plugin-api.cabal
+++ b/hls-plugin-api.cabal
@@ -1,6 +1,6 @@
 cabal-version: 2.4
 name:          hls-plugin-api
-version:       1.6.0.0
+version:       2.0.0.0
 synopsis:      Haskell Language Server API for plugin communication
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -55,7 +55,7 @@
     , filepath
     , ghc
     , hashable
-    , hls-graph             ^>= 1.9
+    , hls-graph             == 2.0.0.0
     , lens
     , lens-aeson
     , lsp                   ^>=1.6.0.0
diff --git a/src/Ide/Types.hs b/src/Ide/Types.hs
--- a/src/Ide/Types.hs
+++ b/src/Ide/Types.hs
@@ -59,7 +59,7 @@
 #endif
 import           Control.Applicative             ((<|>))
 import           Control.Arrow                   ((&&&))
-import           Control.Lens                    ((^.), (.~))
+import           Control.Lens                    ((.~), (^.))
 import           Data.Aeson                      hiding (defaultOptions)
 import           Data.Default
 import           Data.Dependent.Map              (DMap)
@@ -89,7 +89,6 @@
                                                   SemanticTokensEdit (_start))
 import           Language.LSP.Types.Capabilities (ClientCapabilities (ClientCapabilities),
                                                   TextDocumentClientCapabilities (_codeAction, _documentSymbol))
-import qualified Language.LSP.Types.Lens         as J
 import           Language.LSP.Types.Lens         as J (HasChildren (children),
                                                        HasCommand (command),
                                                        HasContents (contents),
@@ -102,6 +101,7 @@
                                                        HasTextDocument (..),
                                                        HasTitle (title),
                                                        HasUri (..))
+import qualified Language.LSP.Types.Lens         as J
 import           Language.LSP.VFS
 import           Numeric.Natural
 import           OpenTelemetry.Eventlog
@@ -196,7 +196,6 @@
   def = Config
     { checkParents                = CheckOnSave
     , checkProject                = True
-    -- , formattingProvider          = "brittany"
     , formattingProvider          = "ormolu"
     -- , formattingProvider          = "floskell"
     -- , formattingProvider          = "stylish-haskell"
