projects
/
lsp-test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8802acc
)
use senRequest instead of request_ in executeCommand to avoid gobbling up messages
author
Zubin Duggal
<zubin@cmi.ac.in>
Mon, 5 Oct 2020 08:12:33 +0000
(13:42 +0530)
committer
Luke Lau
<luke_lau@icloud.com>
Fri, 9 Oct 2020 12:56:55 +0000
(13:56 +0100)
src/Language/Haskell/LSP/Test.hs
patch
|
blob
|
history
diff --git
a/src/Language/Haskell/LSP/Test.hs
b/src/Language/Haskell/LSP/Test.hs
index 6427dd2601ab48bc967007a54c6037e6d98a1470..1ed07d5e06211ed583251cd066271385d2310565 100644
(file)
--- a/
src/Language/Haskell/LSP/Test.hs
+++ b/
src/Language/Haskell/LSP/Test.hs
@@
-543,7
+543,7
@@
executeCommand :: Command -> Session ()
executeCommand cmd = do
let args = decode $ encode $ fromJust $ cmd ^. arguments
execParams = ExecuteCommandParams Nothing (cmd ^. command) args
-
request_
SWorkspaceExecuteCommand execParams
+
void $ sendRequest
SWorkspaceExecuteCommand execParams
-- | Executes a code action.
-- Matching with the specification, if a code action