X-Git-Url: http://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=src%2FLanguage%2FHaskell%2FLSP%2FTest%2FDecoding.hs;fp=src%2FLanguage%2FHaskell%2FLSP%2FTest%2FDecoding.hs;h=059ab344dafad445003e0f066583cd779d5d79a1;hp=5d0a64b6429aed3a20cba013a9ccf8fa1cfb70a4;hb=fa0bdbf2ca975ea2493d0fcfaa6cb63c076567c1;hpb=ce72c9df6c57134f071a647a18a7305bb07a27de diff --git a/src/Language/Haskell/LSP/Test/Decoding.hs b/src/Language/Haskell/LSP/Test/Decoding.hs index 5d0a64b..059ab34 100644 --- a/src/Language/Haskell/LSP/Test/Decoding.hs +++ b/src/Language/Haskell/LSP/Test/Decoding.hs @@ -8,7 +8,7 @@ import qualified Data.ByteString.Lazy.Char8 as B import Data.Maybe import System.IO import Language.Haskell.LSP.Types - hiding ( error ) +import Language.Haskell.LSP.Types.Lens hiding (error) import Language.Haskell.LSP.Messages import qualified Data.HashMap.Strict as HM @@ -127,6 +127,8 @@ decodeFromServerMsg reqMap bytes = ClientRegisterCapability -> ReqRegisterCapability $ fromJust $ decode bytes ClientUnregisterCapability -> ReqUnregisterCapability $ fromJust $ decode bytes WorkspaceApplyEdit -> ReqApplyWorkspaceEdit $ fromJust $ decode bytes + WorkspaceWorkspaceFolders -> error "ReqWorkspaceFolders not supported yet" + WorkspaceConfiguration -> error "ReqWorkspaceConfiguration not supported yet" Error e -> error e