1
0
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:
Theodore Ni 2022-04-28 19:44:47 -07:00 committed by GitHub
parent a5d9ce959c
commit 444158853c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)