Skip to content

Instantly share code, notes, and snippets.

@naquad
Created May 28, 2012 10:01
Show Gist options
  • Save naquad/2818278 to your computer and use it in GitHub Desktop.
Save naquad/2818278 to your computer and use it in GitHub Desktop.
for dir in [&viewdir, &directory]
if !isdirectory(dir)
call mkdir(dir)
endif
endfor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment