From 87899124ab371ea5c274787a5a81b4a3e5e40ef7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 17 May 2019 02:05:33 -0400 Subject: [PATCH] Disable lsp-ui-doc by default In the interest of performance and simplicity. lsp-ui-doc is redundant with +lookup/documentation and eldoc (which are less imposing than lsp-ui-doc's childframe). Also sets lsp-groovy-server-install-dir. --- modules/tools/lsp/config.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/tools/lsp/config.el b/modules/tools/lsp/config.el index efd4bd858..9ee8b2aab 100644 --- a/modules/tools/lsp/config.el +++ b/modules/tools/lsp/config.el @@ -2,7 +2,8 @@ (setq lsp-session-file (concat doom-etc-dir "lsp-session") lsp-auto-guess-root t - lsp-keep-workspace-alive nil) + lsp-keep-workspace-alive nil + lsp-groovy-server-install-dir (concat doom-etc-dir "groovy-langserver/")) (after! lsp-mode (set-lookup-handlers! 'lsp-mode :async t @@ -18,7 +19,10 @@ (setq lsp-prefer-flymake nil lsp-ui-doc-max-height 8 lsp-ui-doc-max-width 35 - lsp-ui-sideline-ignore-duplicate t) + lsp-ui-sideline-ignore-duplicate t + ;; lsp-ui-doc is redundant with and less invasive than + ;; `+lookup/documentation' + lsp-ui-doc-enable nil) (set-lookup-handlers! 'lsp-ui-mode :async t :definition 'lsp-ui-peek-find-definitions