nixpkgs-suyu/pkgs/applications/editors/neovim
Matthieu Coudron 2eb1610725
neovimUtils: neovim utilities to handle more usecases
Current nixpkgs always wraps neovim with the "-u" which has sideeffects as explained in https://github.com/NixOS/nixpkgs/issues/55376 : 
1.  vim won't set the variable $MYVIMRC as explained #34215
 2. vim skips loading folder-specific .vimrc / .nvimrc

I wanted to provide a way for users to better control what flags are used to wrap neovim. This is achived by introducing wrapNeovimUnstable et neovimUtils, utilities to help with that. We provide a compatibility layer so that wrapNeovim still works and to let us experiment with wrapNeovimUnstable to better control neovim configuration, plugin dependencies, haskell environment etc so that it becomes easier to generate per-project neovim config.

With this commit, it's possible for instance for home-manager to wrap neovim without the `-u` and just write the config in the
expected $XDG_CONFIG_HOME/nvim/init.vim .
Expect wrapNeovimUnstable interface to evolve in the upcoming months.
2020-10-29 09:50:26 +01:00
..
gnvim gnvim: 0.1.5 -> 0.1.6 2020-07-08 23:03:42 +02:00
ruby_provider
default.nix neovim: fix build on Darwin 2020-08-14 23:29:31 +02:00
neovim-remote.nix
qt.nix neovim-qt: 0.2.15 -> 0.2.16.1 2020-10-03 19:12:57 +02:00
system_rplugin_manifest.patch
utils.nix neovimUtils: neovim utilities to handle more usecases 2020-10-29 09:50:26 +01:00
wrapper.nix neovimUtils: neovim utilities to handle more usecases 2020-10-29 09:50:26 +01:00