vim-plugins: simplify command slightly, overwrite 'result' if present

This commit is contained in:
Will Dietz 2018-07-19 11:16:05 -05:00
parent 0073c30dbf
commit ee68c9e084

View File

@ -21,7 +21,7 @@ let
# TL;DR
# * Add your plugin to ./vim-plugin-names
# * sort -df ./vim-plugin-names > sorted && mv sorted vim-plugin-names
# * Regenerate via `nix-shell -I nixpkgs=/path/to/your/local/fork -p vimPlugins.pluginnames2nix --command "vim-plugin-names-to-nix +silent +'w result' +qall"`
# * Regenerate via `nix-shell -I nixpkgs=/path/to/your/local/fork -p vimPlugins.pluginnames2nix --command "vim-plugin-names-to-nix +silent +'x! result'"`
# 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.