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:
Danielle McLean 2018-01-12 12:13:02 +11:00
parent 08a615f546
commit f675e39fd5
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -1,7 +1,7 @@
set encoding=utf-8
scriptencoding utf-8
function s:ensure_dir(dir)
function! s:ensure_dir(dir)
if filewritable(a:dir) != 2
call mkdir(a:dir, "p", 0700)
endif