Activate lsp-mode in indirect buffers

This commit is contained in:
Henrik Lissner 2020-02-29 19:07:38 -05:00
parent 29650a67a2
commit 861e0f71d5
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -129,7 +129,7 @@ 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")
(and (buffer-file-name) (and (buffer-file-name (buffer-base-buffer))
(require 'lsp-mode nil t) (require 'lsp-mode nil t)
(setq-local (setq-local
lsp--buffer-workspaces lsp--buffer-workspaces