From 861e0f71d525c11956753d6a5498bf10f07d8b2a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 29 Feb 2020 19:07:38 -0500 Subject: [PATCH] Activate lsp-mode in indirect buffers --- modules/tools/lsp/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tools/lsp/config.el b/modules/tools/lsp/config.el index f65a68747..f8360482d 100644 --- a/modules/tools/lsp/config.el +++ b/modules/tools/lsp/config.el @@ -129,7 +129,7 @@ Also see: This also logs the resolved project root, if found, so we know where we are." :override #'lsp (interactive "P") - (and (buffer-file-name) + (and (buffer-file-name (buffer-base-buffer)) (require 'lsp-mode nil t) (setq-local lsp--buffer-workspaces