Subject: Re: [bug#57456] [PATCH] gnu: Add neovim-packer.

From: "(" <[email-masked]>
Date: Sun, 28 Aug 2022 08:38:08 +0100

Hello!

On Sun Aug 28, 2022 at 5:16 AM BST, gyara via Guix-patches via wrote:
> +  (let ((commit "3a9f9801f683946b9f1047d8f4bf9946c29e927d")
> +        (revision "1"))

Change to `0`, since this is the first revision in Guix.

> +    (package
> +      (name "neovim-packer")
> +      (version (git-version "0.0.0" revision commit))
> +      (home-page "https://github.com/wbthomason/packer.nvim")

Move this above `synopsis`.

> +                (uri (git-reference
> +                      (url "https://github.com/wbthomason/packer.nvim.git")

Remove the `.git` part.

> +      (arguments
> +       '(#:install-plan '(("lua"
> +                           "share/nvim/site/pack/packer/start/packer.nvim/")
> +                          ("doc"
> +                           "share/nvim/site/pack/packer/start/packer.nvim/"))))

Probably better formatting:

  (arguments
   (list #:install-plan
         #~'(("doc" "share/nvim/site/pack/guix/start/packer/")
             ("lua" "share/nvim/site/pack/guix/start/packer/"))))

(I used site/guix instead of site/packer for my own Guix
neovim packages; it seems like any name after site/ works.)

> +      (synopsis "Neovim Plugin manager")

This might be better as:

  Plugin manager for Neovim

> +      (description
> +       "A use-package inspired plugin manager for Neovim. Uses native packages,
> +      supports Luarocks dependencies, written in Lua, allows for expressive config")

And this as:

  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.

    -- (