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."
:override #'lsp
(interactive "P")
(require 'lsp-mode)
(and (buffer-file-name)
(require 'lsp-mode nil t)
(setq-local
lsp--buffer-workspaces
(or (lsp--try-open-in-library-workspace)