papis.nvim icon indicating copy to clipboard operation
papis.nvim copied to clipboard

NixVim documentation

Open arunoruto opened this issue 1 year ago • 3 comments

I am currently rocking NixVim to manage my (neo)vim plugins, and I noted that Papis is missing from the list. It would be cool to include it in there. I am still a noob at Nix(OS), but if I get more experience, I would be willing to include it in there too.

I will try in the future also including it as an external plugin:

{pkgs, ...}: {
  programs.nixvim = {
    extraPlugins = [
      (pkgs.vimUtils.buildVimPlugin {
        name = "papis";
        src = builtins.fetchGit {
          url = "https://github.com/jghauser/papis.nvim";
          ref = "main";
        };
      })
    ];
  };
}

but further config need to be added at extraConfigLua then.

arunoruto avatar May 07 '24 20:05 arunoruto

Hi @arunoruto! Sorry for the slow and response! Yes, it would be nice to get this to run on NixVim. Let me know if you need any help with it. FYI Papis.nvim is now published on luarocks as well, which maybe makes integrating it in NixVim easier.

jghauser avatar Jun 03 '24 07:06 jghauser

For what is worth I have a config with NixVim here which might be a good starting point. Currently though the configuration is fried because of the new dependency on pathlib-nvim.

jhvst avatar Jul 12 '24 11:07 jhvst

Quick update! There's now a papis-nvim package in nixpkgs (unstable). Maybe this means a nixvim config should work now?

jghauser avatar Jan 17 '25 10:01 jghauser