diff mbox series

[bug#57456,v2] gnu: Add neovim-packer.

Message ID 4d2f631d0a57d0ef06423068330554566435c4d0.1661674866.git.me@gyara.moe
State Accepted
Headers show
Series [bug#57456,v2] gnu: Add neovim-packer. | expand

Checks

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

ギャラ Aug. 28, 2022, 8:21 a.m. UTC
---
 gnu/packages/vim.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Comments

\( Aug. 28, 2022, 8:25 a.m. UTC | #1
On Sun Aug 28, 2022 at 9:21 AM BST, gyara via Guix-patches via wrote:
> +      (arguments
> +       '(#:install-plan '(("lua" "share/nvim/site/pack/packer/start/packer/")
> +                          ("doc" "share/nvim/site/pack/packer/start/packer/"))))

Use

  (list #:install-plan
        #~'(...))

instead. Also, s'pack/packer'pack/guix' is probably a nicer place to install
Guix Neovim plugins.

> +      (description
> +       "This package provides a plugin manager for Neovim, inspired by Emacs's
> +  @code{euse-package}.  It's written in Lua, supports Luarocks dependencies,
> +  and is based on Vim's builtin plugin support.")

typo: euse-package

    -- (
diff mbox series

Patch

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index a07c681cb3..9a234d260e 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -639,6 +639,33 @@  (define-public editorconfig-vim
 editors.")
     (license license:bsd-2)))
 
+(define-public neovim-packer
+  (let ((commit "3a9f9801f683946b9f1047d8f4bf9946c29e927d")
+        (revision "0"))
+    (package
+      (name "neovim-packer")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/wbthomason/packer.nvim")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1xn08z3a21mgfvp5i1nv57jnldwxwnl5nkryiff3zc99b1mizigp"))))
+      (build-system copy-build-system)
+      (arguments
+       '(#:install-plan '(("lua" "share/nvim/site/pack/packer/start/packer/")
+                          ("doc" "share/nvim/site/pack/packer/start/packer/"))))
+      (home-page "https://github.com/wbthomason/packer.nvim")
+      (synopsis "Plugin manager for Neovim")
+      (description
+       "This package provides a plugin manager for Neovim, inspired by Emacs's
+  @code{euse-package}.  It's written in Lua, supports Luarocks dependencies,
+  and is based on Vim's builtin plugin support.")
+      (license license:expat))))
+
 (define-public neovim-syntastic
   (package
     (inherit vim-syntastic)