From d98146985cab9756e39cc5eeec5503175f9ba644 Mon Sep 17 00:00:00 2001 From: Ben Creasy Date: Wed, 2 May 2018 21:57:10 -0700 Subject: [PATCH] vim-utils: update plugin generation instruction Currently the pager is a problem but in general fetching all these plugins is inefficient for the general case. --- pkgs/misc/vim-plugins/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/misc/vim-plugins/default.nix b/pkgs/misc/vim-plugins/default.nix index 0134d5fae48a..163a1a986760 100644 --- a/pkgs/misc/vim-plugins/default.nix +++ b/pkgs/misc/vim-plugins/default.nix @@ -21,7 +21,9 @@ in # TL;DR # Add your plugin to ./vim-plugin-names # Regenerate via `nix-shell -I nixpkgs=/path/to/your/local/fork -p vimPlugins.pluginnames2nix --command "vim-plugin-names-to-nix +'w result' +qall"` -# Copy the generated expression(s) into this file. +# Note: pluginnames2nix will fetch any plugins in the file; to speed up the process, +# update ./vim-plugin-names to contain only plugins which need generation +# Copy the generated expression(s) into this file from the ./result file. # If plugin is complicated then make changes to ./vim2nix/additional-nix-code # This attrs contains two sections: