diff --git a/autoload/SpaceVim/plugins/manager.vim b/autoload/SpaceVim/plugins/manager.vim index a7b54177a..e7dbabdf6 100644 --- a/autoload/SpaceVim/plugins/manager.vim +++ b/autoload/SpaceVim/plugins/manager.vim @@ -166,6 +166,9 @@ function! SpaceVim#plugins#manager#update(...) abort endif let s:pct = 0 let s:plugins = a:0 == 0 ? sort(keys(dein#get())) : sort(copy(a:1)) + if a:0 == 0 + call add(s:plugins, 'SpaceVim') + endif let s:total = len(s:plugins) call s:set_buf_line(s:plugin_manager_buffer, 1, 'Updating plugins (' . s:pct . '/' . s:total . ')') if has('nvim') @@ -181,9 +184,17 @@ function! SpaceVim#plugins#manager#update(...) abort let s:start_time = reltime() for i in range(g:spacevim_plugin_manager_max_processes) if !empty(s:plugins) - let repo = dein#get(s:LIST.shift(s:plugins)) + let reponame = s:LIST.shift(s:plugins) + let repo = dein#get(reponame) if !empty(repo) call s:pull(repo) + elseif reponame ==# 'SpaceVim' + let repo = { + \ 'name' : 'SpaceVim', + \ 'path' : expand('~/.SpaceVim') + \ } + call s:pull(repo) + endif endif endfor diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index de4759ba7..98518fb29 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -40,10 +40,11 @@ CONTENTS *SpaceVim-contents* 17. lang#puppet.............................|SpaceVim-layer-lang-puppet| 18. lang#python.............................|SpaceVim-layer-lang-python| 19. lang#rust.................................|SpaceVim-layer-lang-rust| - 20. lang#xml...................................|SpaceVim-layer-lang-xml| - 21. operator...................................|SpaceVim-layer-operator| - 22. shell.........................................|SpaceVim-layer-shell| - 23. tmux...........................................|SpaceVim-layer-tmux| + 20. lang#scala...............................|SpaceVim-layer-lang-scala| + 21. lang#xml...................................|SpaceVim-layer-lang-xml| + 22. operator...................................|SpaceVim-layer-operator| + 23. shell.........................................|SpaceVim-layer-shell| + 24. tmux...........................................|SpaceVim-layer-tmux| 6. API........................................................|SpaceVim-api| 1. cmdlinemenu................................|SpaceVim-api-cmdlinemenu| 7. FAQ........................................................|SpaceVim-faq| @@ -833,6 +834,9 @@ MAPPINGS normal gd rust-doc < +============================================================================== +LANG#SCALA *SpaceVim-layer-lang-scala* + ============================================================================== LANG#XML *SpaceVim-layer-lang-xml*