From bf657406b293bd729dff70454690a9e764009fc8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 16 Apr 2020 15:37:45 -0400 Subject: [PATCH] lsp-enable-links = nil #2911 --- modules/tools/lsp/config.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/tools/lsp/config.el b/modules/tools/lsp/config.el index 0d67d2413..888c9c6fe 100644 --- a/modules/tools/lsp/config.el +++ b/modules/tools/lsp/config.el @@ -47,6 +47,11 @@ working on that project after closing the last buffer.") ;; Some servers implement these poorly. Better to just rely on Emacs' native ;; mechanisms and make these opt-in. (setq lsp-enable-folding nil + ;; HACK Fix #2911, until it is resolved upstream. Links come in + ;; asynchronously from the server, but lsp makes no effort to + ;; "select" the original buffer before laying them down, so they + ;; could be rendered in the wrong buffer (like the minibuffer). + lsp-enable-links nil ;; Potentially slow lsp-enable-file-watchers nil lsp-enable-text-document-color nil