diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-18 13:05:39 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-01-18 13:05:39 +1300 |
commit | e2ef4845869aa38823542034473b5d6ce6ba2f3d (patch) | |
tree | dea5af9adf4481baf40c592cd0ce9da665b32960 /vim/plugin/auto_swapdir.vim | |
parent | Merge branch 'release/v0.23.0' (diff) | |
parent | Bump version number to 0.24.0 (diff) | |
download | dotfiles-e2ef4845869aa38823542034473b5d6ce6ba2f3d.tar.gz dotfiles-e2ef4845869aa38823542034473b5d6ce6ba2f3d.zip |
Merge branch 'release/v0.24.0'v0.24.0
* release/v0.24.0:
Bump version number to 0.24.0
Always add --log to `git merge`
Refactor directory creation in plugins
Remove HTML and PHP syntax highlighting tweaks
Clear unwanted syntax group, don't link to NONE
Diffstat (limited to 'vim/plugin/auto_swapdir.vim')
-rw-r--r-- | vim/plugin/auto_swapdir.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vim/plugin/auto_swapdir.vim b/vim/plugin/auto_swapdir.vim index 7d5940aa..2f9e6d25 100644 --- a/vim/plugin/auto_swapdir.vim +++ b/vim/plugin/auto_swapdir.vim @@ -34,12 +34,12 @@ if !isdirectory(expand(s:swapdir)) " (Fortunately, Unix and Windows are the only OS types in the world) elseif has('*shellescape') if has('unix') - silent! execute '!mkdir -m 0700 -p ' - \ . shellescape(expand(s:swapdir)) + let l:mkdir = '!mkdir -m 0700 -p ' elseif has('win32') || has('win64') - silent! execute '!mkdir ' - \ . shellescape(expand(s:swapdir)) + let l:mkdir = '!mkdir ' endif + silent! execute l:mkdir + \ . shellescape(expand(s:swapdir)) endif endif |