diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2004-06-14 16:59:57 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2004-06-14 16:59:57 +0000 |
commit | ad5e6e3fad6b07ee6b9e7684e2e601b8f48307f3 (patch) | |
tree | 9590b3479eb4dec1097542ba7a9b94dfdf61f380 /app-editors/vim-core/files | |
parent | Stable on x86 (Manifest recommit) (diff) | |
download | gentoo-2-ad5e6e3fad6b07ee6b9e7684e2e601b8f48307f3.tar.gz gentoo-2-ad5e6e3fad6b07ee6b9e7684e2e601b8f48307f3.tar.bz2 gentoo-2-ad5e6e3fad6b07ee6b9e7684e2e601b8f48307f3.zip |
Add in crontab autocmd to fix backupcopy, see bug 53437 and :help crontab. No revbump as it's only a minor change.
Diffstat (limited to 'app-editors/vim-core/files')
-rw-r--r-- | app-editors/vim-core/files/vimrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app-editors/vim-core/files/vimrc b/app-editors/vim-core/files/vimrc index 74447c839885..9fa7db0190e8 100644 --- a/app-editors/vim-core/files/vimrc +++ b/app-editors/vim-core/files/vimrc @@ -75,6 +75,11 @@ augroup gentoo \ if line("'\"") > 0 && line ("'\"") <= line("$") | \ exe "normal g'\"" | \ endif + + " When editing a crontab file, set backupcopy to yes rather than auto. See + " :help crontab and bug 53437. + autocmd FileType crontab set backupcopy=yes + augroup END endif " has("autocmd") |