Start working on support for GHC 8.8/haskell-lsp-0.17
authorLuke Lau <luke_lau@icloud.com>
Sun, 8 Sep 2019 01:34:48 +0000 (21:34 -0400)
committerLuke Lau <luke_lau@icloud.com>
Sun, 8 Sep 2019 01:35:16 +0000 (21:35 -0400)
lsp-test.cabal
src/Language/Haskell/LSP/Test/Messages.hs

index e4c465b052ff312794aa3f387564dd388d44f53c..c9138d3bb35067eab62306793ae04180941aa2d8 100644 (file)
@@ -21,7 +21,7 @@ build-type:          Simple
 cabal-version:       2.0
 extra-source-files:  README.md
                    , ChangeLog.md
-tested-with:         GHC == 8.2.2 , GHC == 8.4.2 , GHC == 8.4.3, GHC == 8.6.4, GHC == 8.6.5
+tested-with:         GHC == 8.2.2 , GHC == 8.4.2 , GHC == 8.4.3, GHC == 8.6.4, GHC == 8.6.5, GHC == 8.8.1
 
 source-repository head
   type:     git
@@ -36,7 +36,7 @@ library
                      , parser-combinators:Control.Applicative.Combinators
   default-language:    Haskell2010
   build-depends:       base >= 4.10 && < 5
-                     , haskell-lsp == 0.15.*
+                     , haskell-lsp == 0.17.*
                      , aeson
                      , aeson-pretty
                      , ansi-terminal
index 16813e2ce0c6c144262cd991c09de0516e712acb..f41a77b4da77466dfba087ba88dd72954b176818 100644 (file)
@@ -124,6 +124,7 @@ handleClientMessage request response notification msg = case msg of
  (ReqDocumentFormatting       m) -> request m
  (ReqDocumentRangeFormatting  m) -> request m
  (ReqDocumentOnTypeFormatting m) -> request m
+ (ReqPrepareRename            m) -> request m
  (ReqRename                   m) -> request m
  (ReqExecuteCommand           m) -> request m
  (ReqDocumentLink             m) -> request m