mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 17:49:57 +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'
|
if name ==# 'SpaceVim'
|
||||||
let repo = {
|
let repo = {
|
||||||
\ 'name' : 'SpaceVim',
|
\ 'name' : 'SpaceVim',
|
||||||
\ 'path' : expand('~/.SpaceVim')
|
\ 'path' : g:_spacevim_root_dir
|
||||||
\ }
|
\ }
|
||||||
elseif g:spacevim_plugin_manager ==# 'dein'
|
elseif g:spacevim_plugin_manager ==# 'dein'
|
||||||
let repo = dein#get(name)
|
let repo = dein#get(name)
|
||||||
@ -380,7 +380,7 @@ function! s:pull(repo) abort
|
|||||||
if name ==# 'SpaceVim'
|
if name ==# 'SpaceVim'
|
||||||
let repo = {
|
let repo = {
|
||||||
\ 'name' : 'SpaceVim',
|
\ 'name' : 'SpaceVim',
|
||||||
\ 'path' : expand('~/.SpaceVim')
|
\ 'path' : g:_spacevim_root_dir
|
||||||
\ }
|
\ }
|
||||||
elseif g:spacevim_plugin_manager ==# 'dein'
|
elseif g:spacevim_plugin_manager ==# 'dein'
|
||||||
let repo = dein#get(name)
|
let repo = dein#get(name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user