diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md index 0000860095e7..d884b5f23a7c 100644 --- a/doc/languages-frameworks/vim.section.md +++ b/doc/languages-frameworks/vim.section.md @@ -186,12 +186,17 @@ Alternatively, set the number of processes to a lower count to avoid rate-limiti nix-shell -p vimPluginsUpdater --run 'vim-plugins-updater --proc 1' ``` -If you want to update only certain plugins, you can specify them after the `update` command. Note that you must use the same plugin names as the `pkgs/applications/editors/vim/plugins/vim-plugin-names` file. +To update only specific plugins, list them after the `update` command: ```sh -nix-shell -p vimPluginsUpdater --run 'vim-plugins-updater update "nvim-treesitter" "LazyVim"' +nix-shell -p vimPluginsUpdater --run 'vim-plugins-updater update "nvim-treesitter" "mini.nvim" "mini-nvim"' ``` +The updater script accepts plugin arguments in different formats: + +- `"mini.nvim"` := The GitHub repository name, the raw plugin name, or the alias defined in `vim-plugin-names`. +- `"mini-nvim"` := The normalized plugin name, which matches the attribute name generated in `generated.nix` + ## How to maintain an out-of-tree overlay of vim plugins? {#vim-out-of-tree-overlays} You can use the updater script to generate basic packages out of a custom vim