[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot 2209779 49/54: Fix #425: Ignore empty hover info
From: |
João Távora |
Subject: |
[elpa] externals/eglot 2209779 49/54: Fix #425: Ignore empty hover info |
Date: |
Thu, 16 Apr 2020 05:31:53 -0400 (EDT) |
branch: externals/eglot
commit 2209779972eee595ff6ea8e75c002f7e5726b0c8
Author: Felicián Németh <address@hidden>
Commit: Felicián Németh <address@hidden>
Fix #425: Ignore empty hover info
This just mimics a similar check in `eglot-help-at-point'.
* eglot.el (eglot-eldoc-function): Check emptiness of `contents' more
carefully.
---
eglot.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eglot.el b/eglot.el
index 8d1d2d7..fe06e0c 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2296,7 +2296,7 @@ potentially rename EGLOT's help buffer."
:success-fn (eglot--lambda ((Hover) contents range)
(unless sig-showing
(when-buffer-window
- (when-let (info (and contents
+ (when-let (info (and (not (seq-empty-p contents))
(eglot--hover-info contents
range)))
(eglot--update-doc info thing-at-point)))))
- [elpa] externals/eglot 4f6e152 51/54: Fix #430: send shutdown and exit messages without arguments, (continued)
- [elpa] externals/eglot 4f6e152 51/54: Fix #430: send shutdown and exit messages without arguments, João Távora, 2020/04/16
- [elpa] externals/eglot 8332cdf 52/54: Fix eglot-move-to-lsp-abiding-column (#361), João Távora, 2020/04/16
- [elpa] externals/eglot 864a493 50/54: Close #323: add a simple github issue template, João Távora, 2020/04/16
- [elpa] externals/eglot 4496657 34/54: Close #393: use completing-read in eglot-code-actions, João Távora, 2020/04/16
- [elpa] externals/eglot 9c52f24 36/54: Fix #277: Send exit as a notification, João Távora, 2020/04/16
- [elpa] externals/eglot 9f10a27 42/54: Explain the animations in the README, João Távora, 2020/04/16
- [elpa] externals/eglot e02479a 54/54: * eglot.el (Version): Bump to 1.6, João Távora, 2020/04/16
- [elpa] externals/eglot 212a7f7 43/54: Per #315: call shutdown/exit methods with params:{}, not null, João Távora, 2020/04/16
- [elpa] externals/eglot 8d8c90d 45/54: Fix #182: add public hook eglot-managed-mode-hook, João Távora, 2020/04/16
- [elpa] externals/eglot 16dd4b8 47/54: Close #414: mention eglot-find-* in README, João Távora, 2020/04/16
- [elpa] externals/eglot 2209779 49/54: Fix #425: Ignore empty hover info,
João Távora <=
- [elpa] externals/eglot 606e234 48/54: Close #415: mention soft dependencies in README, João Távora, 2020/04/16
- [elpa] externals/eglot cacfd24 53/54: Fix #361: abide by LSP when reporting and moving to columns, João Távora, 2020/04/16