summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorFoo Chuan Wei <chuanwei.foo@hotmail.com>2021-10-12 16:46:12 +0000
committerEfraim Flashner <efraim@flashner.co.il>2021-10-18 15:39:32 +0300
commitcc1bf32397fadce7bc807f5ca0ef42aa61b8df49 (patch)
treea7878b46e78811db79521de65fbad057ba8191e7 /gnu/packages
parent3f23b6771e82c4fd3e7c6f35b6e3d22b2d01c70c (diff)
gnu: Add vim-surround.
* gnu/packages/vim.scm (vim-surround): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/vim.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 383f68c58e..2f46105793 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1098,3 +1098,29 @@ to Lisp.")
@code{Paredit.vim} is similar to @code{paredit.el} for Emacs.")
;; License listed in plugin/paredit.vim.
(license license:public-domain))))
+
+(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)))