From eecdb3563d2390fb3d496c15cdfbb73744457211 Mon Sep 17 00:00:00 2001
From: Brandon Lucas
Date: Sun, 23 Jan 2022 14:22:54 +0000
Subject: gnu: Add emacs-cape.
* gnu/packages/emacs-xyz.scm (emacs-cape): New variable.
Signed-off-by: Nicolas Goaziou
---
gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
(limited to 'gnu')
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2d6e6746c8..304666c8ef 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2902,6 +2902,30 @@ overlay below or above the point. Corfu can be considered the minimalistic
@code{completion-in-region} counterpart of the Vertico minibuffer UI.")
(license license:gpl3+)))
+(define-public emacs-cape
+ (package
+ (name "emacs-cape")
+ (version "0.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/minad/cape")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0780qymlrg3glyxypizqzwicp5ly5xavxgpmayhx8cxlgp2zlkjh"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/minad/cape")
+ (synopsis "Completion at point extensions for Emacs")
+ (description
+ "Cape provides some Completion At Point Extensions, which can be used in
+combination with Corfu completion UI or the default completion UI. The
+completion backends used by @code{completion-at-point} are so called
+@code{completion-at-point-functions} (Capfs). In principle, the Capfs
+provided by Cape can also be used by Company.")
+ (license license:gpl3+)))
+
(define-public emacs-direnv
(package
(name "emacs-direnv")
--
cgit v1.2.3