diff mbox series

[bug#51603] gnu: Add vim-nerdtree.

Message ID PU1PR01MB21554FED67A22439A08097A78D8E9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com
State New
Headers show
Series [bug#51603] gnu: Add vim-nerdtree. | expand


Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Foo Chuan Wei Nov. 5, 2021, 2:42 a.m. UTC
* gnu/packages/vim.scm (vim-nerdtree): New variable.
 gnu/packages/vim.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

base-commit: 575fcd3045ff1649e5319b6701ff9e28e97793e0
diff mbox series


diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 1abfffbce2..3f87c18631 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1325,3 +1325,33 @@  the class they are defined in.")
 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-nerdtree
+  (package
+    (name "vim-nerdtree")
+    (version "6.10.16")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/preservim/nerdtree")
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+         (base32 "1si8qla86ng8cffbmfrk9gss0i3912yw0f1ph4bsiq0kk837lccp"))))
+    (build-system copy-build-system)
+    (arguments
+      '(#:install-plan
+        '(("autoload" "share/vim/vimfiles/")
+          ("doc" "share/vim/vimfiles/")
+          ("lib" "share/vim/vimfiles/")
+          ("nerdtree_plugin" "share/vim/vimfiles/")
+          ("plugin" "share/vim/vimfiles/")
+          ("syntax" "share/vim/vimfiles/"))))
+    (home-page "https://github.com/preservim/nerdtree")
+    (synopsis "Tree explorer plugin for Vim")
+    (description
+      "The NERDTree is a file system explorer for the Vim editor.  Using this
+plugin, users can visually browse complex directory hierarchies, quickly open
+files for reading or editing, and perform basic file system operations.")
+    (license license:wtfpl2)))