summary refs log tree commit diff
path: root/doc/languages-frameworks/vim.section.md
diff options
context:
space:
mode:
authorAustin Butler <austinabutler@gmail.com>2020-10-28 13:47:00 -0700
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-10-28 13:51:24 -0700
commit7fd9976af3ee5c952f931e98b785608f0d0aa44c (patch)
treee82bed9ff5b11266ca90cb56b0bc368f3f3d4332 /doc/languages-frameworks/vim.section.md
parentbcec9042d55218b72550244d45b093e4a92877f6 (diff)
downloadnixpkgs-7fd9976af3ee5c952f931e98b785608f0d0aa44c.tar
nixpkgs-7fd9976af3ee5c952f931e98b785608f0d0aa44c.tar.gz
nixpkgs-7fd9976af3ee5c952f931e98b785608f0d0aa44c.tar.bz2
nixpkgs-7fd9976af3ee5c952f931e98b785608f0d0aa44c.tar.lz
nixpkgs-7fd9976af3ee5c952f931e98b785608f0d0aa44c.tar.xz
nixpkgs-7fd9976af3ee5c952f931e98b785608f0d0aa44c.tar.zst
nixpkgs-7fd9976af3ee5c952f931e98b785608f0d0aa44c.zip
vimPlugins: document update proces
Diffstat (limited to 'doc/languages-frameworks/vim.section.md')
-rw-r--r--doc/languages-frameworks/vim.section.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md
index 8e4826232e1..84ad567e8c2 100644
--- a/doc/languages-frameworks/vim.section.md
+++ b/doc/languages-frameworks/vim.section.md
@@ -265,6 +265,20 @@ To add a new plugin, run `./update.py --add "[owner]/[name]"`. **NOTE**: This sc
 
 Finally, there are some plugins that are also packaged in nodePackages because they have Javascript-related build steps, such as running webpack. Those plugins are not listed in `vim-plugin-names` or managed by `update.py` at all, and are included separately in `overrides.nix`. Currently, all these plugins are related to the `coc.nvim` ecosystem of Language Server Protocol integration with vim/neovim.
 
+## Updating plugins in nixpkgs
+
+Run the update script with a GitHub API token that has at least `public_repo` access. Running the script without the token is likely to result in rate-limiting (429 errors). For steps on creating an API token, please refer to [GitHub's token documentation](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token).
+
+```sh
+GITHUB_API_TOKEN=my_token ./pkgs/misc/vim-plugins/update.py
+```
+
+Alternatively, set the number of processes to a lower count to avoid rate-limiting.
+
+```sh
+./pkgs/misc/vim-plugins/update.py --proc 1
+```
+
 ## Important repositories
 
 - [vim-pi](https://bitbucket.org/vimcommunity/vim-pi) is a plugin repository