Load lsp-mode a *little* later

This commit is contained in:
Henrik Lissner 2020-01-25 17:06:21 -05:00
parent 038e52d709
commit 8aec15c287
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -83,8 +83,8 @@ Also see:
This also logs the resolved project root, if found, so we know where we are." This also logs the resolved project root, if found, so we know where we are."
:override #'lsp :override #'lsp
(interactive "P") (interactive "P")
(require 'lsp-mode)
(and (buffer-file-name) (and (buffer-file-name)
(require 'lsp-mode nil t)
(setq-local (setq-local
lsp--buffer-workspaces lsp--buffer-workspaces
(or (lsp--try-open-in-library-workspace) (or (lsp--try-open-in-library-workspace)