Don't use hardcoded home
This commit is contained in:
parent
0e66131107
commit
005a3f1c1f
10
vimrc
10
vimrc
@ -21,18 +21,18 @@ if &compatible
|
||||
endif
|
||||
|
||||
" Required:
|
||||
set runtimepath+=/home/jule/.cache/dein/repos/github.com/Shougo/dein.vim
|
||||
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
|
||||
|
||||
let s:toml = '/home/jule/.vim/plugins.toml'
|
||||
let s:toml = $HOME . '/.vim/plugins.toml'
|
||||
" Required:
|
||||
if dein#load_state('/home/jule/.cache/dein')
|
||||
call dein#begin('/home/jule/.cache/dein', ['/home/jule/.vim/vimrc', '/home/jule/.vim/plugins.toml'])
|
||||
if dein#load_state($HOME . '/.cache/dein')
|
||||
call dein#begin($HOME . '/.cache/dein', [$HOME . '/.vim/vimrc', $HOME . '/.vim/plugins.toml'])
|
||||
|
||||
call dein#load_toml(s:toml)
|
||||
|
||||
" Let dein manage dein
|
||||
" Required:
|
||||
call dein#add('/home/jule/.cache/dein/repos/github.com/Shougo/dein.vim')
|
||||
call dein#add($HOME . '/.cache/dein/repos/github.com/Shougo/dein.vim')
|
||||
|
||||
" Required:
|
||||
call dein#end()
|
||||
|
Loading…
Reference in New Issue
Block a user