diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-10-03 06:24:20 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-10-03 06:26:54 +0800 |
commit | e0d669ffdb69582558f594c4b7cdc18634013f48 (patch) | |
tree | af65aa8b26708eac211b71c99e4c26e219a36d05 | |
parent | 19b49b063c28f7d246bf1b452e5ad59a44345c9d (diff) | |
download | rneovim-e0d669ffdb69582558f594c4b7cdc18634013f48.tar.gz rneovim-e0d669ffdb69582558f594c4b7cdc18634013f48.tar.bz2 rneovim-e0d669ffdb69582558f594c4b7cdc18634013f48.zip |
vim-patch:cd39b69b0200
runtime(doc): add missing error numbers in the help. (vim/vim#13241)
closes: vim/vim#13240
https://github.com/vim/vim/commit/cd39b69b0200005622db7291bbacff95bd03a3d0
Co-authored-by: Yegappan Lakshmanan <4298407+yegappan@users.noreply.github.com>
-rw-r--r-- | runtime/doc/builtin.txt | 3 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 1 | ||||
-rw-r--r-- | src/nvim/eval.lua | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index d0866b1c42..c5c941a4bf 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -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* diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 86e8781160..55c324d739 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -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* diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 23ad3d3787..30278bed1b 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -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* |