diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-04-29 17:41:17 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-04-29 21:22:55 +0200 |
commit | 3033b5a70a1a9f1fdce1a772541fec9722825298 (patch) | |
tree | d75910dd59df01772559b8327e88939744c19793 /runtime | |
parent | 04f0bc97b732c395dbfcc9411910ab58b9346f58 (diff) | |
download | rneovim-3033b5a70a1a9f1fdce1a772541fec9722825298.tar.gz rneovim-3033b5a70a1a9f1fdce1a772541fec9722825298.tar.bz2 rneovim-3033b5a70a1a9f1fdce1a772541fec9722825298.zip |
vim-patch:8.1.1231: asking about existing swap file unnecessarily
Problem: Asking about existing swap file unnecessarily.
Solution: When it is safe, delete the swap file. Remove
HAS_SWAP_EXISTS_ACTION, it is always defined. (closes vim/vim#1237)
https://github.com/vim/vim/commit/67cf86bfff5fd5224d557d81cb146f46e33b831c
N/A:
vim-patch:8.1.1232
vim-patch:8.1.1233
vim-patch:8.1.1236
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/usr_11.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/doc/usr_11.txt b/runtime/doc/usr_11.txt index e5591ac1d1..42b564e962 100644 --- a/runtime/doc/usr_11.txt +++ b/runtime/doc/usr_11.txt @@ -205,6 +205,13 @@ something wrong. It may be one of these two situations. NEWER than swap file! ~ +NOTE that in the following situation Vim knows the swap file is not useful and +will automatically delete it: +- The file is a valid swap file (Magic number is correct). +- The flag that the file was modified is not set. +- The process is not running. + + UNREADABLE SWAP FILE Sometimes the line |