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
|
endif
|
||||||
|
|
||||||
" Required:
|
" 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:
|
" Required:
|
||||||
if dein#load_state('/home/jule/.cache/dein')
|
if dein#load_state($HOME . '/.cache/dein')
|
||||||
call dein#begin('/home/jule/.cache/dein', ['/home/jule/.vim/vimrc', '/home/jule/.vim/plugins.toml'])
|
call dein#begin($HOME . '/.cache/dein', [$HOME . '/.vim/vimrc', $HOME . '/.vim/plugins.toml'])
|
||||||
|
|
||||||
call dein#load_toml(s:toml)
|
call dein#load_toml(s:toml)
|
||||||
|
|
||||||
" Let dein manage dein
|
" Let dein manage dein
|
||||||
" Required:
|
" 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:
|
" Required:
|
||||||
call dein#end()
|
call dein#end()
|
||||||
|
Loading…
Reference in New Issue
Block a user