Subject: [bug#57389] [PATCH 24/29] gnu: Add neovim-autopairs.

From: "(" <[email-masked]>
Date: Wed, 24 Aug 2022 18:08:51 +0100

* gnu/packages/vim.scm (neovim-autopairs): New variable.
---
 gnu/packages/vim.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 074b1ef541..28179160ae 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1847,3 +1847,29 @@ (define-public neovim-lspsaga
        "This package provides a fancy user interface for the Neovim
 language server protocol client.")
       (license license:expat))))
+
+(define-public neovim-autopairs
+  (let ((commit "0a18e10a0c3fde190437567e40557dcdbbc89ea1")
+        (revision "0"))
+    (package
+      (name "neovim-autopairs")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/windwp/nvim-autopairs")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "11pxmmbm67ihzjcnclkcpq5jp643s0a3kqvkh5hz2hgnia8gls45"))))
+      (build-system copy-build-system)
+      (arguments
+       (list #:install-plan
+             #~'(("doc" "share/nvim/site/pack/guix/start/autopairs/")
+                 ("lua" "share/nvim/site/pack/guix/start/autopairs/"))))
+      (home-page "https://github.com/windwp/nvim-autopairs")
+      (synopsis "Autopairs plugin for Neovim")
+      (description
+       "This package provides an auto-pairing plugin for Neovim that
+supports multiple characters.")
+     (license license:expat))))
-- 
2.37.2