aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-25 23:11:44 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-25 23:11:44 +1200
commit7a9ab3f1953676d995af9e363240130349a79dd3 (patch)
tree7f4df9e3eb416a8d053594c537ae59c80d73100c
parentUpdate vim-insert-suspend-hlsearch to v1.0.0 (diff)
downloaddotfiles-7a9ab3f1953676d995af9e363240130349a79dd3.tar.gz
dotfiles-7a9ab3f1953676d995af9e363240130349a79dd3.zip
Adjust a concatenated string
-rw-r--r--vim/vimrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e248669f..27c8778f 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -25,9 +25,7 @@ set backspace=
" Keep backup files in dedicated directory; add trailing double-slash to keep
" full path in name, if Vim is new enough to support that
set backup
-execute 'set backupdir^='
- \ . escape($MYVIM, '\ ')
- \ . '/cache/backup'
+execute 'set backupdir^='.escape($MYVIM, '\ ').'/cache/backup'
\ . (has('patch-8.1.251') ? '//' : '')
" Add some *nix paths not to back up