aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-08 20:37:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-08 20:37:16 +1200
commitde07d2bd03416a117d7454d48ddb27c8009979b7 (patch)
treed69127d119c67c33a2caa0ee2fc8094570ba0ef9
parentExplain sort-reverse of 'backupskip' patterns (diff)
downloaddotfiles-de07d2bd03416a117d7454d48ddb27c8009979b7.tar.gz
dotfiles-de07d2bd03416a117d7454d48ddb27c8009979b7.zip
Separate 'directory' slashes into its own string
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 74f336b7..55ff8cea 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -219,7 +219,7 @@ set dictionary^=/usr/share/dict/words
" trailing slashes to the path to prompt Vim to use the full escaped path in
" its name, in order to avoid filename collisions.
"
-let s:directory = $MYVIM.'/cache/swap//'
+let s:directory = $MYVIM.'/cache/swap'.'//'
execute 'set directory^='.vimrc#EscapeSetPart(s:directory)
" Create the first path in the 'directory' swapfile path list, the one we just