summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2023-10-26 15:44:39 +0400
committerAndrew Tropin <andrew@trop.in>2023-10-26 15:44:39 +0400
commit486dcafb4569224ad0c17df7d5bebb210b7be075 (patch)
treed602b1ee9f28cc3be3d48f0ec6804e2119edeacd
parent23376668339b126b0270bcfcea9d9044903ff05e (diff)
gnu: Add emacs-corfu-candidate-overlay.
* gnu/packages/emacs-xyz.scm (emacs-corfu-candidate-overlay): New variable.
-rw-r--r--gnu/packages/emacs-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0bf3096216..547cb64878 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4568,6 +4568,30 @@ popup for completion candidates when using @code{emacs-corfu}. It can
be regarded as @code{emacs-company-quickhelp} for @code{emacs-corfu}.")
(license license:gpl3+)))
+(define-public emacs-corfu-candidate-overlay
+ (package
+ (name "emacs-corfu-candidate-overlay")
+ (version "1.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://code.bsdgeek.org/adam/corfu-candidate-overlay")
+ (commit "265438b16155e899d82a869aebca16105665c998")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0i36g2i7435pby32vcapv4ydmp6rqn0r51qm91wqyzan1f3n3qck"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-corfu))
+ (license license:gpl3)
+ (home-page "https://code.bsdgeek.org/adam/corfu-candidate-overlay")
+ (synopsis "Show first Corfu's completion candidate in an overlay while
+ typing")
+ (description
+ "Simple corfu as-you-type auto-suggestion candidate overlay with a visual
+ indication of whether there are many or exactly one candidate available.")))
+
(define-public emacs-cape
(package
(name "emacs-cape")