Adding a package to generate a portable lua config #3000
Replies: 1 comment 1 reply
-
I've had the same idea in the past, but I'm skeptical it is possible to achieve in a sane way. Nixvim is designed from the ground up to use plugins packaged in nixpkgs. We use the nixpkgs nvim wrapper to add those packages to vim's runtimepath. We occasionally rely on nix store paths for arbitrary dependencies. Etc. Let's say you used a plugin manager like There'd also be other things that'd need some refactoring, possibly including how we handle Don't let my skepticism put you off though, if you think you have an idea for something that could work. |
Beta Was this translation helpful? Give feedback.
-
Hey!
After playing a little bit with
nixvim-print-init
, I thought, why not improve this mechanism to generate a portable neovim configuration from nixvim. Thenixvim-print-init
package is primarily meant for debugging or checking the generated config, if I understand it correctly.But it doesn't allow the user to export it and use it without importing every single packages by hand (in a package manager like lazy or packer).
Could this be a good feature/package for Nixvim? I'm willing to put effort in this, as I could use it at work and still keep my nixvim config for my daily driver ^^.
Beta Was this translation helpful? Give feedback.
All reactions