Subject: [PATCH] gnu: Add emacs-vertico.

From: Xinglu Chen <[email-masked]>
Date: Fri, 09 Apr 2021 08:22:15 +0200

* gnu/packages/emacs-xyz.scm (emacs-vertico): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8e80ccbb56..f11e5c7ef1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27564,3 +27564,27 @@ and prefered services can easily be configured.")
 quasi-prefix map, with many useful bindings.  These bindings are
 shorter than usual, using mostly unprefixed keys.")
     (license license:gpl3+)))
+
+(define-public emacs-vertico
+  (package
+    (name "emacs-vertico")
+    (version "0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/minad/vertico")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0gvv1yjgq88s9y0fm9r1r270k2sfkfzbd3wcnjq68swjm24mp8h9"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/minad/vertico")
+    (synopsis "Vertical interactive completion")
+    (description "This package provides a minimalistic vertical completion UI,
+which is based on Emacs' default completion system.  By reusing the default
+system, Vertico achieves full compatibility with built-in Emacs commands and
+completion tables.  Vertico is pretty bare-bone and only provides a minimal
+set of commands.  Additional optional enhancements can be provided externally
+by complementary packages.")
+    (license license:gpl3+)))

base-commit: 2afc79b51d0956e5834e81a70692a35cd83e4e87
-- 
2.31.1