diff --git a/hls-hlint-plugin.cabal b/hls-hlint-plugin.cabal
--- a/hls-hlint-plugin.cabal
+++ b/hls-hlint-plugin.cabal
@@ -1,9 +1,9 @@
 cabal-version: 2.2
 name:          hls-hlint-plugin
-version:       1.0.1.0
+version:       1.0.1.1
 synopsis:      Hlint integration plugin with Haskell Language Server
 description:
-  Please see Haskell Language Server Readme (https://github.com/haskell/haskell-language-server#readme)
+  Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
 
 license:       Apache-2.0
 license-file:  LICENSE
@@ -51,7 +51,7 @@
     , ghcide                ^>=1.4
     , hashable
     , hlint
-    , hls-plugin-api        ^>=1.1
+    , hls-plugin-api        >=1.1     && <1.3
     , hslogger
     , lens
     , lsp
@@ -71,8 +71,8 @@
     else
       build-depends:
         , ghc
-        , ghc-lib            == 9.0.*
-        , ghc-lib-parser-ex  == 9.0.*
+        , ghc-lib            ==9.0.*
+        , ghc-lib-parser-ex  ==9.0.*
 
       cpp-options:   -DHLINT_ON_GHC_LIB
 
@@ -81,12 +81,12 @@
     -- https://github.com/ndmitchell/hlint/blob/c7354e473c7d09213c8adc3dc94bf50a6eb4a42d/hlint.cabal#L79-L88
     build-depends: hlint ^>=3.2
     if (!flag(ghc-lib) && impl(ghc >=8.10.1) && impl(ghc < 8.11.0))
-        build-depends: ghc >=8.10 && < 9.0
+      build-depends: ghc >=8.10 && <9.0
     else
       build-depends:
         , ghc
-        , ghc-lib            ^>= 8.10.4.20210206
-        , ghc-lib-parser-ex  ^>= 8.10
+        , ghc-lib            ^>=8.10.4.20210206
+        , ghc-lib-parser-ex  ^>=8.10
 
       cpp-options:   -DHLINT_ON_GHC_LIB
 
diff --git a/src/Ide/Plugin/Hlint.hs b/src/Ide/Plugin/Hlint.hs
--- a/src/Ide/Plugin/Hlint.hs
+++ b/src/Ide/Plugin/Hlint.hs
@@ -91,7 +91,10 @@
 import           Language.LSP.Server                                (ProgressCancellable (Cancellable),
                                                                      sendRequest,
                                                                      withIndefiniteProgress)
-import           Language.LSP.Types
+import           Language.LSP.Types                                 hiding
+                                                                    (SemanticTokenAbsolute (length, line),
+                                                                     SemanticTokenRelative (length),
+                                                                     SemanticTokensEdit (_start))
 import qualified Language.LSP.Types                                 as LSP
 import qualified Language.LSP.Types.Lens                            as LSP
 
