Fix vim swap filename setting to avoid name collisions

main
Buddy Sandidge 4 years ago
parent ddfca85fb6
commit 034d5d6eaf

@ -12,7 +12,7 @@ set packpath^=$XDG_DATA_HOME/vim
call mkdir($XDG_DATA_HOME.'/vim/spell', 'p', 0700)
set backupdir=$XDG_CACHE_HOME/vim/backup | call mkdir(&backupdir, 'p', 0700)
set directory=$XDG_CACHE_HOME/vim/swap | call mkdir(&directory, 'p', 0700)
set directory=$XDG_CACHE_HOME/vim/swap// | call mkdir(&directory, 'p', 0700)
set undodir=$XDG_CACHE_HOME/vim/undo | call mkdir(&undodir, 'p', 0700)
set viewdir=$XDG_CACHE_HOME/vim/view | call mkdir(&viewdir, 'p', 0700)

Loading…
Cancel
Save