all repos — nixfiles @ 225fbd8cc839560da144afd3e2263a09a1ea7de2

System and user configuration, managed by nix and home-manager

emacs: fix boosted lsp-mode failing to launch servers

Alan Pearce
commit

225fbd8cc839560da144afd3e2263a09a1ea7de2

parent

05c65bcfbcc8cfac5111403ed405b646401a374c

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M user/settings/emacs/init.eluser/settings/emacs/init.el
@@ -1275,7 +1275,7 @@ (progn
(when-let ((command-from-exec-path (executable-find (car orig-result)))) ;; resolve command from exec-path (in case not found in $PATH) (setcar orig-result command-from-exec-path)) (message "Using emacs-lsp-booster for %s!" orig-result) - (cons "emacs-lsp-booster" (cons "--disable-bytecode" orig-result))) + (cons "emacs-lsp-booster" (cons "--disable-bytecode" (cons "--" orig-result)))) orig-result))) (advice-add 'lsp-resolve-final-command :around #'lsp-booster--advice-final-command)