gytis-ivaskevicius / nix2vim

[WIP] Nix to Lua parser meant to be used for configuring neovim
MIT License
51 stars 5 forks source link

Manage _just_ dependencies with nix #7

Closed the-argus closed 1 year ago

the-argus commented 2 years ago

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?

DieracDelta commented 2 years ago

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

gytis-ivaskevicius commented 2 years ago

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

the-argus commented 1 year ago

yep. I'm migrating my config now.