neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 2ac00f13502fbe564a0406439126552161295b4f
parent 24020ef2dd3daffa56af0eff5e6c2ed82af80335
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Thu, 28 Aug 2025 08:15:06 +0800

vim-patch:9.1.1698: Some error numbers are not documented (#35522)

Problem:  Some error numbers are not documented
          (Restorer)
Solution: Document missing error numbers (Yegappan Lakshmanan).

fixes: vim/vim#18114
closes: vim/vim#18135

https://github.com/vim/vim/commit/5e27058fc4a98dbea16f72bc54e76bbe1d455168

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat:
Mruntime/doc/autocmd.txt | 1+
Mruntime/doc/options.txt | 2+-
Msrc/nvim/options.lua | 1+
3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt @@ -306,6 +306,7 @@ BufUnload Before unloading a buffer, when the text in going to exit. NOTE: Current buffer "%" is not the target buffer "<afile>", "<abuf>". |<buffer=abuf>| + *E1546* Do not switch buffers or windows! Not triggered when exiting and v:dying is 2 or more. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt @@ -1359,7 +1359,7 @@ A jump table for the options with a short description can be found at |Q_op|. This option cannot be set from a |modeline| or in the |sandbox|, for security reasons. - *'chistory'* *'chi'* + *'chistory'* *'chi'* *E1542* *E1543* 'chistory' 'chi' number (default 10) global Number of quickfix lists that should be remembered for the quickfix diff --git a/src/nvim/options.lua b/src/nvim/options.lua @@ -1205,6 +1205,7 @@ local options = { full_name = 'chistory', scope = { 'global' }, short_desc = N_('number of quickfix lists stored in history'), + tags = { 'E1542', 'E1543' }, type = 'number', varname = 'p_chi', },