Subject: bug#51166: closed (Re: [bug#51166] [PATCH] gnu: Add vim-surround)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 18 Oct 2021 12:52:02 +0000

Your bug report

#51166: [PATCH] gnu: Add vim-surround

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
51166: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51166
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#51166] [PATCH] gnu: Add vim-surround
From: Efraim Flashner <[email-masked]>
To: Foo Chuan Wei <[email-masked]>
Cc: [email-masked]
Date: Mon, 18 Oct 2021 15:49:36 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks. Patch pushed.

-- 
Efraim Flashner   <[email-masked]>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH] gnu: Add vim-surround
From: Foo Chuan Wei <[email-masked]>
To: [email-masked]
Date: Tue, 12 Oct 2021 16:46:12 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/vim.scm (vim-surround): 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 92189b7094..415e9edb6d 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1069,3 +1069,29 @@ your code every time you make a change.  @code{Vim-slime} is an attempt at
 getting some of these features into Vim.  It works with any REPL and isn't tied
 to Lisp.")
       (license license:expat))))
+
+(define-public vim-surround
+  (package
+    (name "vim-surround")
+    (version "2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/tpope/vim-surround")
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+         (base32 "1b0bd5m5lv1p4d299mrwjfs2gk0zqwyaqdaid9hs9yqlxnr8s5nf"))))
+    (build-system copy-build-system)
+    (arguments
+      '(#:install-plan
+        '(("doc" "share/vim/vimfiles/")
+          ("plugin" "share/vim/vimfiles/"))))
+    (home-page "https://github.com/tpope/vim-surround")
+    (synopsis "Vim plugin for easy quoting and parenthesizing")
+    (description
+      "Surround.vim is all about \"surroundings\": parentheses, brackets,
+quotes, XML tags, and more. The plugin provides mappings to easily delete,
+change and add such surroundings in pairs.")
+    (license license:vim)))

base-commit: b9c7bbba38f4fb12d2735f2683a40c035f4e7f5f
-- 
2.25.1