diff --git a/autoload/SpaceVim/commands.vim b/autoload/SpaceVim/commands.vim index 404505655..84c05804d 100644 --- a/autoload/SpaceVim/commands.vim +++ b/autoload/SpaceVim/commands.vim @@ -26,6 +26,11 @@ function! SpaceVim#commands#load() abort command! -nargs=* \ -complete=customlist,SpaceVim#commands#complete_SPConfig \ SPConfig call SpaceVim#commands#config() + "" + " Command for update plugin, support completion of plugin name. + " > + " :SPUpdate vim-airline + " < command! -nargs=* \ -complete=custom,SpaceVim#commands#complete_plugin \ SPUpdate call SpaceVim#commands#update_plugin() diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index ca1126378..f61899bd3 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -328,6 +328,12 @@ COMMANDS *SpaceVim-commands* :SPConfig -g < +:SPUpdate *:SPUpdate* + Command for update plugin, support completion of plugin name. +> + :SPUpdate vim-airline +< + ============================================================================== FUNCTIONS *SpaceVim-functions*