guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add vim-nerdcommenter.


From: guix-commits
Subject: branch master updated: gnu: Add vim-nerdcommenter.
Date: Thu, 04 Nov 2021 09:31:01 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 46b4f9b  gnu: Add vim-nerdcommenter.
46b4f9b is described below

commit 46b4f9b9a7e7fdd15bdc4562acaa816d3bf9d237
Author: Foo Chuan Wei <chuanwei.foo@hotmail.com>
AuthorDate: Mon Nov 1 04:53:38 2021 +0000

    gnu: Add vim-nerdcommenter.
    
    * gnu/packages/vim.scm (vim-nerdcommenter): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/vim.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index f707299..1abfffb 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1296,3 +1296,32 @@ a sidebar that displays the ctags-generated tags of the 
current file, ordered
 by their scope.  This means that for example methods in C++ are displayed under
 the class they are defined in.")
     (license license:vim)))
+
+(define-public vim-nerdcommenter
+  (let ((commit "a65465d321f2f8a74b2ffa540b9b87563f7e12e8")
+        (revision "1"))
+    (package
+      (name "vim-nerdcommenter")
+      (version (git-version "2.5.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+                (url "https://github.com/preservim/nerdcommenter";)
+                (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "00ir65iv8jfbgzjmj7332fmydh0qhabbhx8zbvd3j6pgfxqpaafw"))))
+      (build-system copy-build-system)
+      (arguments
+       '(#:install-plan
+         '(("autoload" "share/vim/vimfiles/")
+           ("doc" "share/vim/vimfiles/")
+           ("plugin" "share/vim/vimfiles/"))))
+      (home-page "https://github.com/preservim/nerdcommenter";)
+      (synopsis "Vim plugin for easy commenting of code")
+      (description
+       "NERD commenter is a Vim plugin that provides many different commenting
+operations and styles which are invoked via key mappings and a menu.  These
+operations are available for most filetypes.")
+      (license license:cc0))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]