[bug#57456,v2] gnu: Add neovim-packer.
Commit Message
---
gnu/packages/vim.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Comments
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
-- (
@@ -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)