Vim: Difference between revisions
imported>Mic92 |
imported>Mic92 |
||
| Line 62: | Line 62: | ||
* Check https://github.com/NixOS/nixpkgs/tree/master/pkgs/misc/vim-plugins | * Check https://github.com/NixOS/nixpkgs/tree/master/pkgs/misc/vim-plugins | ||
* Add your plugin to ./vim-plugin-names | * Add your plugin to ./vim-plugin-names | ||
* Generate via <code>vim-plugin-names-to-nix</code> | * Generate via <code>nix-shell -p vimPlugins.pluginnames2nix --command "vim-plugin-names-to-nix"</code> | ||
* If you need to add additional code/patches to the generated code, add those lines to <code>pkgs/misc/vim-plugins/vim2nix/additional-nix-code</code> and rerun <code>vim-plugin-names-to-nix</code>. They will be included in the generated code. | |||
= Real life examples = | = Real life examples = | ||