Skip to content

Commit 6b850a8

Browse files
committed
wip
1 parent 1bb1b5d commit 6b850a8

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

ellsp-code-action.el

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
(forward-line line)
3939
(forward-char character)
4040
;; TODO: ..
41-
(message "%s -> %s" start end)
4241
)))
4342

4443
(provide 'ellsp-code-action)

ellsp-log.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626

2727
(require 'log4e)
2828

29+
;; XXX: The enitre module is unusable on Unix-like system since they will
30+
;; interfere the standard ouput.
31+
2932
(with-no-warnings
3033
(log4e:deflogger "ellsp" "%t [%l] %m" "%H:%M:%S" '((fatal . "fatal")
3134
(error . "error")

ellsp.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@
133133
("textDocument/codeAction" (ellsp--handle-textDocument/codeAction id params))
134134
("textDocument/completion" (ellsp--handle-textDocument/completion id params))
135135
("textDocument/hover" (ellsp--handle-textDocument/hover id params))
136-
("textDocument/signatureHelp" (ellsp--handle-textDocument/signatureHelp id params)))))
136+
("textDocument/signatureHelp" (ellsp--handle-textDocument/signatureHelp id params))
137+
;; Emacs is single threaded, skip it.
138+
("$/cancelRequest" nil))))
137139
(cond ((not res)
138140
(message "<< %s" "no response"))
139141
((when-let* ((res (ignore-errors (lsp--json-serialize res))))

0 commit comments

Comments
 (0)