diff options
Diffstat (limited to 'pkgs/misc/vim-plugins/vim-utils.nix')
-rw-r--r-- | pkgs/misc/vim-plugins/vim-utils.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/misc/vim-plugins/vim-utils.nix b/pkgs/misc/vim-plugins/vim-utils.nix index 14332c7007807..44bc7ec3ced1d 100644 --- a/pkgs/misc/vim-plugins/vim-utils.nix +++ b/pkgs/misc/vim-plugins/vim-utils.nix @@ -188,7 +188,8 @@ let vam ? null, pathogen ? null, plug ? null, - customRC ? "" + customRC ? "", + beforePlugins ? "", }: let @@ -291,7 +292,7 @@ let " tell vam about which plugins to load when: let l = [] - ${lib.concatMapStrings (p: "call add(l, ${toNix p})\n") vam.pluginDictionaries} + ${lib.concatMapStrings (p: "call add(l, {'name': '${p.pname}'})\n") plugins} call vam#Scripts(l, {}) ''); @@ -341,6 +342,8 @@ let " minimal setup, generated by NIX set nocompatible + ${beforePlugins} + ${vamImpl} ${pathogenImpl} ${plugImpl} |