Fix void-variable args error starting up lsp-mode
This commit is contained in:
parent
24652f26de
commit
3eb61601e5
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ This also logs the resolved project root, if found, so we know where we are."
|
|||
(if-let (root (lsp--calculate-root (lsp-session) (buffer-file-name)))
|
||||
(lsp--info "Guessed project root is %s" (abbreviate-file-name root))
|
||||
(lsp--info "Could not guess project root."))))))
|
||||
(apply orig-fn args))
|
||||
(funcall orig-fn arg))
|
||||
|
||||
;; Don't prompt to restart LSP servers while quitting Emacs
|
||||
(add-hook! 'kill-emacs-hook (setq lsp-restart 'ignore)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue