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

5e27058fc4

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
zeertzjq
2025-08-28 08:15:06 +08:00
committed by GitHub
parent 24020ef2dd
commit 2ac00f1350
3 changed files with 3 additions and 1 deletions

View File

@@ -306,6 +306,7 @@ BufUnload Before unloading a buffer, when the text in
going to exit. going to exit.
NOTE: Current buffer "%" is not the target NOTE: Current buffer "%" is not the target
buffer "<afile>", "<abuf>". |<buffer=abuf>| buffer "<afile>", "<abuf>". |<buffer=abuf>|
*E1546*
Do not switch buffers or windows! Do not switch buffers or windows!
Not triggered when exiting and v:dying is 2 or Not triggered when exiting and v:dying is 2 or
more. more.

View File

@@ -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 This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons. security reasons.
*'chistory'* *'chi'* *'chistory'* *'chi'* *E1542* *E1543*
'chistory' 'chi' number (default 10) 'chistory' 'chi' number (default 10)
global global
Number of quickfix lists that should be remembered for the quickfix Number of quickfix lists that should be remembered for the quickfix

View File

@@ -1205,6 +1205,7 @@ local options = {
full_name = 'chistory', full_name = 'chistory',
scope = { 'global' }, scope = { 'global' },
short_desc = N_('number of quickfix lists stored in history'), short_desc = N_('number of quickfix lists stored in history'),
tags = { 'E1542', 'E1543' },
type = 'number', type = 'number',
varname = 'p_chi', varname = 'p_chi',
}, },