From 7231438f124eff0ce0b9a8998ac7838abc094a8b Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sat, 12 Nov 2016 08:06:58 -0500 Subject: vim-patch:7.4.1640 Problem: Crash when an autocommand changes a quickfix list. (Dominique) Solution: Check wether an entry is still valid. (Yegappan Lakshmanan, Hirohito Higashi) https://github.com/vim/vim/commit/ffec3c53496d49668669deabc0724ec78e2274fd --- runtime/doc/quickfix.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/doc') diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index 44d68c7b38..7c1fc30eba 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -53,6 +53,10 @@ command with 'l'. If the current window was closed by an |autocommand| while processing a location list command, it will be aborted. + *E925* *E926* +If the current quickfix or location list was changed by an |autocommand| while +processing a quickfix or location list command, it will be aborted. + *:cc* :cc[!] [nr] Display error [nr]. If [nr] is omitted, the same error is displayed again. Without [!] this doesn't -- cgit From c0fd830be4ef3eafb756c463aee6408323ba4e58 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sat, 12 Nov 2016 13:52:50 -0500 Subject: Bump all nvim-specific error codes above E5000 In order to not conflict with new error codes that Vim adds, all Neovim error codes should be above 5000. The three existing sub-5000 error codes (E926, E951, and E952) are now E50003, E5004, and E5005 respectively. E953 was removed in 6167ce6df2753d5474ad49aea19f5957128ab015, so just remove it from the help. --- runtime/doc/eval.txt | 2 +- runtime/doc/options.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/doc') diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index eecf12c44e..64f58c5599 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5069,7 +5069,7 @@ msgpackdump({list}) {Nvim} *msgpackdump()* (dictionary with zero items is represented by 0x80 byte in messagepack). - Limitations: *E951* *E952* *E953* + Limitations: *E5004* *E5005* 1. |Funcref|s cannot be dumped. 2. Containers that reference themselves cannot be dumped. 3. Dictionary keys are always dumped as STR strings. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 1789f73aa9..9d8d1f84c8 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6512,7 +6512,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'ttyfast'* *'tf'* *'nottyfast'* *'notf'* 'ttyfast' 'tf' Removed. |vim-differences| {Nvim} - *'undodir'* *'udir'* *E926* + *'undodir'* *'udir'* *E5003* 'undodir' 'udir' string (default "$XDG_DATA_HOME/nvim/undo") global {only when compiled with the |+persistent_undo| feature} -- cgit