24 lines
823 B
Diff
24 lines
823 B
Diff
From previous version's patches.
|
|
Subject: remove undo backup in vimrc example
|
|
Bug: 119745
|
|
|
|
diff -ruN vim-8.2.4788/runtime/vimrc_example.vim vim-8.2.4788-patch/runtime/vimrc_example.vim
|
|
--- vim-8.2.4788/runtime/vimrc_example.vim 2022-04-19 12:25:13.000000000 +0300
|
|
+++ vim-8.2.4788-patch/runtime/vimrc_example.vim 2022-04-26 15:25:24.983490220 +0300
|
|
@@ -19,15 +19,6 @@
|
|
" Get the defaults that most users want.
|
|
source $VIMRUNTIME/defaults.vim
|
|
|
|
-if has("vms")
|
|
- set nobackup " do not keep a backup file, use versions instead
|
|
-else
|
|
- set backup " keep a backup file (restore to previous version)
|
|
- if has('persistent_undo')
|
|
- set undofile " keep an undo file (undo changes after closing)
|
|
- endif
|
|
-endif
|
|
-
|
|
if &t_Co > 2 || has("gui_running")
|
|
" Switch on highlighting the last used search pattern.
|
|
set hlsearch
|