mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:30:05 +08:00
Fix rtp (#1787)
This commit is contained in:
parent
163ca7a141
commit
a4c44a6a3f
@ -21,7 +21,7 @@ try
|
||||
call SpaceVim#begin()
|
||||
catch
|
||||
" Update the rtp only when SpaceVim is not contained in runtimepath.
|
||||
let &runtimepath += ',' . fnamemodify(g:_spacevim_root_dir, ':p:h:h')
|
||||
let &runtimepath .= ',' . fnamemodify(g:_spacevim_root_dir, ':p:h:h')
|
||||
call SpaceVim#begin()
|
||||
endtry
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user