vim now reads per-machine config only when it exists.
This commit is contained in:
parent
a145e22b5b
commit
de8df4fdfb
1 changed files with 3 additions and 1 deletions
|
@ -88,4 +88,6 @@ function! LightLineReadonly()
|
||||||
return &readonly && &filetype !=# 'help' ? '' : ''
|
return &readonly && &filetype !=# 'help' ? '' : ''
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
source ~/.local/config/init.vim
|
if filereadable(glob('~/.local/config/init.vim'))
|
||||||
|
source ~/.local/config/init.vim
|
||||||
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue