aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-10-19 23:11:31 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-10-19 14:11:31 -0700
commit3de4dc539ae938c5fdeddbdf25722fd1f6d9c77c (patch)
tree06f93f207141a372a02f513e4adb11a3ecea7e37 /runtime
parent68b0873c458f4a0b5ca8483958994d338060202a (diff)
downloadrneovim-3de4dc539ae938c5fdeddbdf25722fd1f6d9c77c.tar.gz
rneovim-3de4dc539ae938c5fdeddbdf25722fd1f6d9c77c.tar.bz2
rneovim-3de4dc539ae938c5fdeddbdf25722fd1f6d9c77c.zip
vim-patch:8.1.2180: Error E303 is not useful when 'directory' is empty (#11257)
Problem: Error E303 is not useful when 'directory' is empty. Solution: Skip the error message. (Daniel Hahler, vim/vim#5067) https://github.com/vim/vim/commit/00e192becd50a38cb21a1bc3f86fcc7a21f8ee88
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/message.txt3
-rw-r--r--runtime/doc/options.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index e8c76adad4..965b062728 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -556,7 +556,8 @@ allowed for the command that was used.
Vim was not able to create a swap file. You can still edit the file, but if
Vim unexpectedly exits the changes will be lost. And Vim may consume a lot of
memory when editing a big file. You may want to change the 'directory' option
-to avoid this error. See |swap-file|.
+to avoid this error. This error is not given when 'directory' is empty. See
+|swap-file|.
*E140* >
Use ! to write partial buffer
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 971c4ffbd5..ee4625a9e0 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1978,7 +1978,7 @@ A jump table for the options with a short description can be found at |Q_op|.
possible. If it is not possible in any directory, but last
directory listed in the option does not exist, it is created.
- Empty means that no swap file will be used (recovery is
- impossible!).
+ impossible!) and no |E303| error will be given.
- A directory "." means to put the swap file in the same directory as
the edited file. On Unix, a dot is prepended to the file name, so
it doesn't show in a directory listing. On MS-Windows the "hidden"