diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-09 02:13:18 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-09 02:13:18 +1200 |
commit | b3d832134eeba6b7e5befb2c49c784a38e9a2d77 (patch) | |
tree | fa31dc3b96f075e1b3a07e31bc9e9308974a699f | |
parent | Restrict allowed characters of $MYVIM even more (diff) | |
download | dotfiles-b3d832134eeba6b7e5befb2c49c784a38e9a2d77.tar.gz dotfiles-b3d832134eeba6b7e5befb2c49c784a38e9a2d77.zip |
Explain the 'backupskip' problem a bit more
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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& |