Handle [un]registerCapability and workspace/didChangeWatchedFiles
authorLuke Lau <luke_lau@icloud.com>
Thu, 14 May 2020 19:16:44 +0000 (20:16 +0100)
committerLuke Lau <luke_lau@icloud.com>
Thu, 14 May 2020 19:16:44 +0000 (20:16 +0100)
commit71f5ececdaa02c87b026c40d70fb55c4a0d05044
treeffa57a6426b6c29ba93516e64797ae29a7827c4a
parent57f01faf8784ed1e09a0937e5f8085923f03e9cd
Handle [un]registerCapability and workspace/didChangeWatchedFiles

Part of the work towards #63.
The session will now keep track of the capabilities that are registered
and unregister them when requests come in from the server.
openDoc' has been removed and replaced with createDoc.
createDoc will send out workspace/didChangeWatchedFiles notifications
whenever the server registers for it.
lsp-test.cabal
src/Language/Haskell/LSP/Test.hs
src/Language/Haskell/LSP/Test/Session.hs
test/Test.hs
test/dummy-server/Main.hs