branch: externals/corfu-doc
commit 07d389a0abc9139643ad92c2b03aa2e486811411
Author: Yuwei Tian <[email protected]>
Commit: Yuwei Tian <[email protected]>
Make candidates popup and doc popup share the border
---
corfu-doc.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/corfu-doc.el b/corfu-doc.el
index d9ea8d03ee..1d78ca404e 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -263,7 +263,9 @@ The pixel width and height of the doc frame are calculated
by the
documentation content, they can also be specified by optional parameters
FWIDTH and FHEIGHT."
(let* (x y
- (space 1) ;; 1 pixel space between corfu frame and corfu doc frame
+ ;; space between corfu popup and corfu doc popup
+ ;; set -1 to share the border
+ (space -1)
(cf-parent-frame (frame-parent corfu--frame))
(cf-frame--pos (frame-position corfu--frame))
(cf-frame-x (car cf-frame--pos)) ;; corfu--frame x pos