aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-03-28 20:32:17 +0000
committerFlorian Diebold <[email protected]>2019-03-28 20:32:17 +0000
commit156b1ddf67b09ae2fabfa8ff49732fcb88072720 (patch)
tree0469985069591d41ae15394becc84affd92f7ade /editors
parent2a770190b07ee43364a66a65b886f7efa822ec6f (diff)
Fix emacs-lsp runnables support with native json
(In that case args is a vector, which string-join doesn't like.)
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs/ra-emacs-lsp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/emacs/ra-emacs-lsp.el b/editors/emacs/ra-emacs-lsp.el
index 955703edb..84c018b66 100644
--- a/editors/emacs/ra-emacs-lsp.el
+++ b/editors/emacs/ra-emacs-lsp.el
@@ -159,7 +159,7 @@
159 (interactive (list (rust-analyzer--select-runnable))) 159 (interactive (list (rust-analyzer--select-runnable)))
160 (-let (((&hash "env" "bin" "args" "label") runnable)) 160 (-let (((&hash "env" "bin" "args" "label") runnable))
161 (compilation-start 161 (compilation-start
162 (string-join (cons bin args) " ") 162 (string-join (append (list bin) args '()) " ")
163 ;; cargo-process-mode is nice, but try to work without it... 163 ;; cargo-process-mode is nice, but try to work without it...
164 (if (functionp 'cargo-process-mode) 'cargo-process-mode nil) 164 (if (functionp 'cargo-process-mode) 'cargo-process-mode nil)
165 (lambda (_) (concat "*" label "*"))) 165 (lambda (_) (concat "*" label "*")))