aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-09 02:13:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-09 02:13:18 +1200
commitb3d832134eeba6b7e5befb2c49c784a38e9a2d77 (patch)
treefa31dc3b96f075e1b3a07e31bc9e9308974a699f
parentRestrict allowed characters of $MYVIM even more (diff)
downloaddotfiles-b3d832134eeba6b7e5befb2c49c784a38e9a2d77.tar.gz
dotfiles-b3d832134eeba6b7e5befb2c49c784a38e9a2d77.zip
Explain the 'backupskip' problem a bit more
-rw-r--r--vim/vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 53033d90..47326b8d 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -303,8 +303,9 @@ call s:Mkdir(split(&backupdir, s:option_split_pattern)[0])
if has('unix')
" Vim doesn't seem to check patterns added to 'backupskip' for uniqueness,
- " so adding them repeatedly if this file is reloaded results in duplicates.
- " This might be a bug in Vim. To work around this, we reset the path back
+ " so adding them repeatedly if this file is reloaded results in duplicates,
+ " due to the absence of the P_NODUP flag for its definition in src/option.c.
+ " This is likely a bug in Vim. To work around this, we reset the path back
" to its default first.
"
set backupskip&