unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nathan Merkley <nathanmerkley@gmail.com>
To: 67186@debbugs.gnu.org
Cc: Nathan Merkley <nathanmerkley@gmail.com>
Subject: [bug#67186] [PATCH 1/6] * gnu/packages/vim.scm (vim-commentary): New variable.
Date: Thu,  7 Dec 2023 09:54:04 -0700	[thread overview]
Message-ID: <20a47b3f14097c25a6b3602ab63217bb377ca972.1700006719.git.nathanmerkley@gmail.com> (raw)
Message-ID: <20231207165404.ICVL3G8Pc8TFQkgcuF1c29Fc7_E9GrlFVlRBtzE5jZA@z> (raw)
In-Reply-To: <cover.1700006719.git.nathanmerkley@gmail.com>

Change-Id: I9435787b234f90cb3d59ff6b65b7a96a533aea03
---
 gnu/packages/vim.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 469c8b64cb..d0877033b9 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1423,3 +1423,34 @@ (define-public vim-nerdcommenter
 operations and styles which are invoked via key mappings and a menu.  These
 operations are available for most filetypes.")
     (license license:cc0)))
+
+(define-public vim-commentary
+  (let ((commit "e87cd90dc09c2a203e13af9704bd0ef79303d755")
+        (revision "1"))
+    (package
+      (name "vim-commentary")
+      (version (string-append "1.3-" revision "."
+                              (string-take commit 7)))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/tpope/vim-commentary")
+               (commit commit)))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32 "09kzc89iwkgsi4wvjxk56fis462kkz5chcl9sl4hdbmpa1f41wy0"))))
+      (build-system vim-build-system)
+      (arguments
+       (list
+        #:plugin-name "commentary.vim"))
+      (synopsis "Vim plugin for commenting out code")
+      (description
+       "Comment stuff out.  Use gcc to comment out a line (takes a count), gc to
+comment out the target of a motion (for example, gcap to comment out a
+paragraph), gc in visual mode to comment out the selection, and gc in operator
+pending mode to target a comment.  You can also use it as a command, either with
+a range like :7,17Commentary, or as part of a :global invocation like with
+:g/TODO/Commentary.")
+      (home-page "https://www.vim.org/scripts/script.php?script_id=3695")
+      (license license:vim))))
-- 
2.41.0





  reply	other threads:[~2023-12-07 16:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-15  0:21 [bug#67186] [PATCH 0/6] *** Add vim plugins *** Nathan Merkley
2023-11-15  0:21 ` Nathan Merkley [this message]
2023-12-07 16:54   ` [bug#67186] [PATCH 1/6] * gnu/packages/vim.scm (vim-commentary): New variable Nathan Merkley
2023-11-15  0:21 ` [bug#67188] [PATCH 2/6] * gnu/packages/vim.scm (vim-guile): " Nathan Merkley
2023-12-07 16:54   ` [bug#67186] " Nathan Merkley
2023-11-15  0:21 ` [bug#67189] [PATCH 3/6] * gnu/packages/vim.scm (vim-dhall-vim): " Nathan Merkley
2023-12-07 16:54   ` [bug#67186] " Nathan Merkley
2023-11-15  0:21 ` [bug#67191] [PATCH 4/6] * gnu/packages/vim.scm (vim-mundo): " Nathan Merkley
2023-12-07 16:54   ` [bug#67186] " Nathan Merkley
2023-11-15  0:21 ` [bug#67192] [PATCH 5/6] * gnu/packages/vim.scm (vim-zig): " Nathan Merkley
2023-12-07 16:54   ` [bug#67186] " Nathan Merkley
2023-11-15  0:21 ` [bug#67190] [PATCH 6/6] * gnu/packages/vim.scm (vim-plantuml-syntax): " Nathan Merkley
2023-12-07 16:54   ` [bug#67186] " Nathan Merkley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20a47b3f14097c25a6b3602ab63217bb377ca972.1700006719.git.nathanmerkley@gmail.com \
    --to=nathanmerkley@gmail.com \
    --cc=67186@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).