diff --git a/hls-explicit-imports-plugin.cabal b/hls-explicit-imports-plugin.cabal
--- a/hls-explicit-imports-plugin.cabal
+++ b/hls-explicit-imports-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.2
 name:               hls-explicit-imports-plugin
-version:            2.4.0.0
+version:            2.5.0.0
 synopsis:           Explicit imports plugin for Haskell Language Server
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -37,9 +37,9 @@
     , containers
     , deepseq
     , ghc
-    , ghcide                == 2.4.0.0
+    , ghcide                == 2.5.0.0
     , hls-graph
-    , hls-plugin-api        == 2.4.0.0
+    , hls-plugin-api        == 2.5.0.0
     , lens
     , lsp
     , mtl
diff --git a/src/Ide/Plugin/ExplicitImports.hs b/src/Ide/Plugin/ExplicitImports.hs
--- a/src/Ide/Plugin/ExplicitImports.hs
+++ b/src/Ide/Plugin/ExplicitImports.hs
@@ -399,7 +399,7 @@
           not $ any (\e -> ("module " ++ moduleNameString name) == e) exports
 
 isExplicitImport :: ImportDecl GhcRn -> Bool
-#if MIN_VERSION_ghc (9,5,0)
+#if MIN_VERSION_ghc(9,5,0)
 isExplicitImport ImportDecl {ideclImportList = Just (Exactly, _)} = True
 #else
 isExplicitImport ImportDecl {ideclHiding = Just (False, _)}       = True
