Permalink
Browse files

Merge pull request #5 from heavenshell/fix_create_memolist_path

Fix error when g:memolist_path set like ~/memo
  • Loading branch information...
2 parents e104db1 + 8f9ba7f commit fbe93bca81f1706cd72d05b66e2c7e699700fdd7 @glidenote glidenote committed Mar 28, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 autoload/memolist.vim
View
1 autoload/memolist.vim
@@ -66,6 +66,7 @@ function! s:esctitle(str)
return str
endfunction
+let g:memolist_path = expand(g:memolist_path, 'p:')
if !isdirectory(g:memolist_path)
call mkdir(g:memolist_path, 'p')
endif

0 comments on commit fbe93bc

Please sign in to comment.