nix2vim icon indicating copy to clipboard operation
nix2vim copied to clipboard

Manage _just_ dependencies with nix

Open the-argus opened this issue 1 year ago • 2 comments

I would like to use nix to manage my packer plugins and their configurations, because those are the elements of my config that don't involve functions or any idiosyncratic lua/vim stuff that wouldn't be possible (as far as I'm aware) with this flake. How can I go about partially using nix2vim, with raw lua alongside it?

the-argus avatar Aug 30 '22 17:08 the-argus

Would the lua attribute fit your goal? It just appends raw lua to the generated lua. Example

DieracDelta avatar Aug 30 '22 18:08 DieracDelta

you can also do stuff like lua = builtins.readFile ./something.lua. Is this issue resolved?

gytis-ivaskevicius avatar Sep 06 '22 17:09 gytis-ivaskevicius