diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2022-08-01 02:58:32 +0200 |
---|---|---|
committer | Matthieu Coudron <mcoudron@hotmail.com> | 2022-08-09 16:20:55 +0200 |
commit | cda1f8ae46869c429971323717d622d5b17d9854 (patch) | |
tree | bf2b35e3ec28ddda5a17a601377a5d653f9e1d3c /pkgs/applications/editors/vim | |
parent | 0fb2e47b7f4ca4cff34739a0d18524eee2514f32 (diff) | |
download | nixlib-cda1f8ae46869c429971323717d622d5b17d9854.tar nixlib-cda1f8ae46869c429971323717d622d5b17d9854.tar.gz nixlib-cda1f8ae46869c429971323717d622d5b17d9854.tar.bz2 nixlib-cda1f8ae46869c429971323717d622d5b17d9854.tar.lz nixlib-cda1f8ae46869c429971323717d622d5b17d9854.tar.xz nixlib-cda1f8ae46869c429971323717d622d5b17d9854.tar.zst nixlib-cda1f8ae46869c429971323717d622d5b17d9854.zip |
neovim: pass packpath via the wrapper
Adding "packages" to the neovim distribution triggers the wrapping of the derivation. This is because it tries to "set packpath/rtp" in the init.vim. If we set these arguments via --cmd instead we can avoid to create an init.vim, which can be useful if we want to wrap an init.lua later on (in home-manager for instance, we dont want to generate viml code). Also removes the support for "configure" in makeNeovimConfig and configure.plug / configure.vam packages in the compatibility layer 'legacyWrapper'.
Diffstat (limited to 'pkgs/applications/editors/vim')
-rw-r--r-- | pkgs/applications/editors/vim/plugins/vim-utils.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/vim/plugins/vim-utils.nix b/pkgs/applications/editors/vim/plugins/vim-utils.nix index 288a9408d2f8..2f2e7cc00cb5 100644 --- a/pkgs/applications/editors/vim/plugins/vim-utils.nix +++ b/pkgs/applications/editors/vim/plugins/vim-utils.nix @@ -236,7 +236,7 @@ let */ vimrcContent = { packages ? null, - vam ? null, + vam ? null, # deprecated pathogen ? null, # deprecated plug ? null, beforePlugins ? '' |