aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 0fdcec3c..a8293311 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -143,12 +143,12 @@ if has('unix')
endif
let s:directory = s:cache.'/swap'
call s:Mkpath(s:directory)
-execute 'set directory^='.s:EscItemExec(s:directory)
+execute 'set directory^='.s:EscItemExec(s:directory).'//'
if has('persistent_undo')
set undofile
let s:undodir = s:cache.'/undo'
call s:Mkpath(s:undodir)
- execute 'set undodir^='.s:EscItemExec(s:undodir)
+ execute 'set undodir^='.s:EscItemExec(s:undodir).'//'
endif
filetype plugin indent on
function! s:ReloadFileType() abort