GNU bug report logs - #51164
[PATCH] gnu: Add vim-tagbar

Previous Next

Package: guix-patches;

Reported by: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>

Date: Tue, 12 Oct 2021 15:49:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#51164: closed ([PATCH] gnu: Add vim-tagbar)
Date: Sun, 31 Oct 2021 13:34:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 31 Oct 2021 15:31:53 +0200
with message-id <YX6ayaHVDBFobZwF <at> 3900XT>
and subject line Re: [bug#51164] [PATCH] gnu: Add vim-tagbar
has caused the debbugs.gnu.org bug report #51164,
regarding [PATCH] gnu: Add vim-tagbar
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
51164: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51164
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add vim-tagbar
Date: Tue, 12 Oct 2021 15:48:10 +0000
* gnu/packages/vim.scm (vim-tagbar): New variable.
---
 gnu/packages/vim.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 92189b7094..316db2fcdb 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1069,3 +1069,33 @@ 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-tagbar
+  (package
+    (name "vim-tagbar")
+    (version "3.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/preservim/tagbar")
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+         (base32 "1fqfs8msmr6d4kpvxqp14sdjvp5fj52q5w5kz71myzcd4kqzmirp"))))
+    (build-system copy-build-system)
+    (arguments
+      '(#:install-plan
+        '(("autoload" "share/vim/vimfiles/")
+          ("doc" "share/vim/vimfiles/")
+          ("plugin" "share/vim/vimfiles/")
+          ("syntax" "share/vim/vimfiles/"))))
+    (home-page "https://github.com/preservim/tagbar")
+    (synopsis " Vim plugin that displays tags in a window, ordered by scope")
+    (description
+      "Tagbar is a Vim plugin that provides an easy way to browse the tags of
+the current file and get an overview of its structure. It does this by creating
+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)))

base-commit: b9c7bbba38f4fb12d2735f2683a40c035f4e7f5f
-- 
2.25.1



[Message part 3 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
Cc: 51164-done <at> debbugs.gnu.org
Subject: Re: [bug#51164] [PATCH] gnu: Add vim-tagbar
Date: Sun, 31 Oct 2021 15:31:53 +0200
[Message part 4 (text/plain, inline)]
Patch pushed. I added a follow-up patch to add the location for Guix's
universal-ctags as a fallback location when searching $PATH for ctags.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 201 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.