diff options
Diffstat (limited to 'doc/languages-frameworks/vim.section.md')
-rw-r--r-- | doc/languages-frameworks/vim.section.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md index 26aa9c25f06f..f0a6559c3d51 100644 --- a/doc/languages-frameworks/vim.section.md +++ b/doc/languages-frameworks/vim.section.md @@ -179,6 +179,18 @@ Sample output2: ] +## Adding new plugins to nixpkgs + +In `pkgs/misc/vim-plugins/vim-plugin-names` we store the plugin names +for all vim plugins we automatically generate plugins for. +The format of this file `github username/github repository`: +For example https://github.com/scrooloose/nerdtree becomes `scrooloose/nerdtree`. +After adding your plugin to this file run the `./update.py` in the same folder. +This will updated a file called `generated.nix` and make your plugin accessible in the +`vimPlugins` attribute set (`vimPlugins.nerdtree` in our example). +If additional steps to the build process of the plugin are required, add an +override to the `pkgs/misc/vim-plugins/default.nix` in the same directory. + ## Important repositories - [vim-pi](https://bitbucket.org/vimcommunity/vim-pi) is a plugin repository |