all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#51164] [PATCH] gnu: Add vim-tagbar
@ 2021-10-12 15:48 Foo Chuan Wei
  2021-10-31 13:31 ` bug#51164: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Foo Chuan Wei @ 2021-10-12 15:48 UTC (permalink / raw)
  To: 51164

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#51164: [PATCH] gnu: Add vim-tagbar
  2021-10-12 15:48 [bug#51164] [PATCH] gnu: Add vim-tagbar Foo Chuan Wei
@ 2021-10-31 13:31 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2021-10-31 13:31 UTC (permalink / raw)
  To: Foo Chuan Wei; +Cc: 51164-done

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

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@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-31 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-12 15:48 [bug#51164] [PATCH] gnu: Add vim-tagbar Foo Chuan Wei
2021-10-31 13:31 ` bug#51164: " Efraim Flashner

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.