summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2021-05-06 16:03:14 +0200
committerAlan Pearce2021-05-06 16:03:14 +0200
commitfcee2cdf9c5e904eed5724028ad6531a105e6406 (patch)
tree9cce60f73e08809493574c3d7376e370e5030c31 /user
parent29fc059aed5e9d7f8508ad29d9a5214bd6826948 (diff)
downloadnixfiles-fcee2cdf9c5e904eed5724028ad6531a105e6406.tar.lz
nixfiles-fcee2cdf9c5e904eed5724028ad6531a105e6406.tar.zst
nixfiles-fcee2cdf9c5e904eed5724028ad6531a105e6406.zip
Emacs: show LSP reference peek menu even for one candidate
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 9c5b1648..0178b3cf 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -942,7 +942,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (setq lsp-enable-snippet nil
                   lsp-ui-sideline-show-code-actions nil
                   lsp-ui-sideline-enable t
-                  lsp-ui-doc-enable nil)))
+                  lsp-ui-doc-enable nil
+                  lsp-ui-peek-always-show t)))
 
 (use-package lsp-ivy
   :after (lsp ivy))