vim-patch:cd39b69b0200

runtime(doc): add missing error numbers in the help.  (vim/vim#13241)

closes: vim/vim#13240

cd39b69b02

Co-authored-by: Yegappan Lakshmanan <4298407+yegappan@users.noreply.github.com>
This commit is contained in:
zeertzjq 2023-10-03 06:24:20 +08:00
parent 19b49b063c
commit e0d669ffdb
3 changed files with 5 additions and 1 deletions

View File

@ -925,7 +925,7 @@ cosh({expr}) *cosh()*
echo cosh(-0.5)
< -1.127626
count({comp}, {expr} [, {ic} [, {start}]]) *count()*
count({comp}, {expr} [, {ic} [, {start}]]) *count()* *E706*
Return the number of times an item with value {expr} appears
in |String|, |List| or |Dictionary| {comp}.
@ -5116,6 +5116,7 @@ printf({fmt}, {expr1} ...) *printf()*
using a {n$} positional argument specifier. See |printf-$|.
*E1520*
The conversion specifiers and their meanings are:
*printf-d* *printf-b* *printf-B* *printf-o* *printf-x* *printf-X*

View File

@ -6099,6 +6099,7 @@ function vim.fn.prevnonblank(lnum) end
--- using a {n$} positional argument specifier. See |printf-$|.
---
---
--- *E1520*
--- The conversion specifiers and their meanings are:
---
--- *printf-d* *printf-b* *printf-B* *printf-o* *printf-x* *printf-X*

View File

@ -1542,6 +1542,7 @@ M.funcs = {
count = {
args = { 2, 4 },
base = 1,
tags = { 'E706' },
desc = [=[
Return the number of times an item with value {expr} appears
in |String|, |List| or |Dictionary| {comp}.
@ -7381,6 +7382,7 @@ M.funcs = {
using a {n$} positional argument specifier. See |printf-$|.
*E1520*
The conversion specifiers and their meanings are:
*printf-d* *printf-b* *printf-B* *printf-o* *printf-x* *printf-X*