Make my vimrc re-sourceable - minpac uses this to lazily load itself, although I haven't actually set that feature up yet
This commit is contained in:
parent
08a615f546
commit
f675e39fd5
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
scriptencoding utf-8
|
scriptencoding utf-8
|
||||||
|
|
||||||
function s:ensure_dir(dir)
|
function! s:ensure_dir(dir)
|
||||||
if filewritable(a:dir) != 2
|
if filewritable(a:dir) != 2
|
||||||
call mkdir(a:dir, "p", 0700)
|
call mkdir(a:dir, "p", 0700)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue