From 951a414ca481c1a8070cfccf6dc1ca3471e1d6a8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 22 Jul 2019 00:43:50 +0200 Subject: [PATCH] tools/lsp: disable unneeded sideline/eldoc features --- modules/tools/lsp/config.el | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/tools/lsp/config.el b/modules/tools/lsp/config.el index 31d0c61b5..738a9259e 100644 --- a/modules/tools/lsp/config.el +++ b/modules/tools/lsp/config.el @@ -38,9 +38,16 @@ lsp-ui-doc-max-height 8 lsp-ui-doc-max-width 35 lsp-ui-sideline-ignore-duplicate t - ;; lsp-ui-doc is redundant with and less invasive than + ;; lsp-ui-doc is redundant with and more invasive than ;; `+lookup/documentation' - lsp-ui-doc-enable nil) + lsp-ui-doc-enable nil + ;; Don't show symbol definitions in the sideline. They are pretty noisy, + ;; and there is a bug preventing Flycheck errors from being shown (the + ;; errors flash briefly and then disappear). + lsp-ui-sideline-show-hover nil + ;; `lsp-ui' offers its own eldoc integration, which is redundant with + ;; lsp-mode's. + lsp-eldoc-enable-hover nil) (set-lookup-handlers! 'lsp-ui-mode :async t :definition 'lsp-ui-peek-find-definitions