projects
/
lsp-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use senRequest instead of request_ in executeCommand to avoid gobbling up messages
[lsp-test.git]
/
src
/
Language
/
Haskell
/
LSP
/
Test.hs
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
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
-- | Executes a code action.
-- Matching with the specification, if a code action