mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
fix(dein-ui): fix reference root directory var during plugin update
This commit is contained in:
parent
a5d9ce959c
commit
444158853c
@ -231,7 +231,7 @@ function! s:on_pull_exit(id, data, event) abort
|
||||
if name ==# 'SpaceVim'
|
||||
let repo = {
|
||||
\ 'name' : 'SpaceVim',
|
||||
\ 'path' : expand('~/.SpaceVim')
|
||||
\ 'path' : g:_spacevim_root_dir
|
||||
\ }
|
||||
elseif g:spacevim_plugin_manager ==# 'dein'
|
||||
let repo = dein#get(name)
|
||||
@ -380,7 +380,7 @@ function! s:pull(repo) abort
|
||||
if name ==# 'SpaceVim'
|
||||
let repo = {
|
||||
\ 'name' : 'SpaceVim',
|
||||
\ 'path' : expand('~/.SpaceVim')
|
||||
\ 'path' : g:_spacevim_root_dir
|
||||
\ }
|
||||
elseif g:spacevim_plugin_manager ==# 'dein'
|
||||
let repo = dein#get(name)
|
||||
|
Loading…
Reference in New Issue
Block a user