Fix emacs-lsp runnables support with native json
(In that case args is a vector, which string-join doesn't like.)
This commit is contained in:
parent
2a770190b0
commit
156b1ddf67
@ -159,7 +159,7 @@
|
||||
(interactive (list (rust-analyzer--select-runnable)))
|
||||
(-let (((&hash "env" "bin" "args" "label") runnable))
|
||||
(compilation-start
|
||||
(string-join (cons bin args) " ")
|
||||
(string-join (append (list bin) args '()) " ")
|
||||
;; cargo-process-mode is nice, but try to work without it...
|
||||
(if (functionp 'cargo-process-mode) 'cargo-process-mode nil)
|
||||
(lambda (_) (concat "*" label "*")))
|
||||
|
Loading…
x
Reference in New Issue
Block a user