From 541cd1a58d23d3c862b0975a69d47e73afdb1b99 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 2 Oct 2021 23:26:22 +0200 Subject: [PATCH] tweak(lsp): lsp-ui-doc-{delay,max-width} - Wider lsp-ui-doc frames. - Slightly longer delay before lsp-ui-doc appears (was too naggy before). --- modules/tools/lsp/+lsp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/tools/lsp/+lsp.el b/modules/tools/lsp/+lsp.el index f8f1c7c1f..265e3bed6 100644 --- a/modules/tools/lsp/+lsp.el +++ b/modules/tools/lsp/+lsp.el @@ -186,7 +186,8 @@ instead is more sensible." (setq lsp-ui-peek-enable (featurep! +peek) lsp-ui-doc-max-height 8 - lsp-ui-doc-max-width 35 + lsp-ui-doc-max-width 72 ; 150 (default) is too wide + lsp-ui-doc-delay 0.75 ; 0.2 (default) is too naggy lsp-ui-doc-show-with-mouse nil ; don't disappear on mouseover lsp-ui-doc-position 'at-point lsp-ui-sideline-ignore-duplicate t