, parser-combinators:Control.Applicative.Combinators
default-language: Haskell2010
build-depends: base >= 4.10 && < 5
- , haskell-lsp >= 0.22 && < 0.23
+ , haskell-lsp >= 0.22 && < 0.24
, aeson
, aeson-pretty
, ansi-terminal
hs-source-dirs: test/dummy-server
ghc-options: -W
build-depends: base >= 4.10 && < 5
- , haskell-lsp
+ , haskell-lsp >= 0.23 && < 0.24
, data-default
, aeson
, unordered-containers
build-depends: base >= 4.10 && < 5
, hspec
, lens
- , haskell-lsp >= 0.22 && < 0.23
+ , haskell-lsp >= 0.22 && < 0.24
, lsp-test
, data-default
, aeson
, completionHandler = pure $ \req -> do
let res = CompletionList (CompletionListType False (List [item]))
item =
- CompletionItem "foo" (Just CiConstant) (List []) Nothing
+ CompletionItem "foo" (Just CiConstant) (Just (List [])) Nothing
Nothing Nothing Nothing Nothing Nothing Nothing Nothing
Nothing Nothing Nothing Nothing Nothing
send $ RspCompletion $ makeResponseMessage req res