tools/lsp: fix void-function lsp--require-packages error
This commit is contained in:
parent
e52fd138e2
commit
7afe5dc5c3
1 changed files with 2 additions and 1 deletions
|
@ -118,8 +118,9 @@ server getting expensively restarted when reverting buffers."
|
||||||
|
|
||||||
(defadvice! +lsp-dont-prompt-to-install-servers-maybe-a (orig-fn &rest args)
|
(defadvice! +lsp-dont-prompt-to-install-servers-maybe-a (orig-fn &rest args)
|
||||||
:around #'lsp
|
:around #'lsp
|
||||||
(lsp--require-packages)
|
|
||||||
(when (buffer-file-name)
|
(when (buffer-file-name)
|
||||||
|
(require 'lsp-mode)
|
||||||
|
(lsp--require-packages)
|
||||||
(if (or (lsp--filter-clients
|
(if (or (lsp--filter-clients
|
||||||
(-andfn #'lsp--matching-clients?
|
(-andfn #'lsp--matching-clients?
|
||||||
#'lsp--server-binary-present?))
|
#'lsp--server-binary-present?))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue