Mercurial > vim
changeset 33436:3f96c75df76d
runtime(doc): add missing error numbers in the help. (#13241)
Commit: https://github.com/vim/vim/commit/cd39b69b0200005622db7291bbacff95bd03a3d0
Author: Yegappan Lakshmanan <4298407+yegappan@users.noreply.github.com>
Date: Mon Oct 2 12:50:45 2023 -0700
runtime(doc): add missing error numbers in the help. (https://github.com/vim/vim/issues/13241)
closes: https://github.com/vim/vim/issues/13240
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 02 Oct 2023 22:00:06 +0200 |
parents | 5831a6b5e1af |
children | 91dd5632fe6f |
files | runtime/doc/builtin.txt runtime/doc/eval.txt runtime/doc/tags |
diffstat | 3 files changed, 21 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1855,7 +1855,7 @@ cosh({expr}) *cosh()* Compute()->cosh() -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}. @@ -5052,12 +5052,14 @@ insert({object}, {item} [, {idx}]) *in Can also be used as a |method|: > mylist->insert(item) - -instanceof({object}, {class}) *instanceof()* - The result is a Number, which is |TRUE| when the {object} argument is a - direct or indirect instance of a |Class| specified by {class}. - When {class} is a |List| the function returns |TRUE| when {object} is an - instance of any of the specified classes. +< + *instanceof()* *E614* *E616* *E693* +instanceof({object}, {class}) + The result is a Number, which is |TRUE| when the {object} + argument is a direct or indirect instance of a |Class| + specified by {class}. + When {class} is a |List| the function returns |TRUE| when + {object} is an instance of any of the specified classes. Example: > instanceof(animal, [Dog, Cat]) @@ -6689,6 +6691,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*
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -3128,6 +3128,10 @@ text... < You may want to make a copy of a list to avoid this. See |deepcopy()|. + *E1391* *E1392* + Locking and unlocking object and class variables is + currently NOT supported. + :unlo[ckvar][!] [depth] {name} ... *:unlockvar* *:unlo* *E1246* Unlock the internal variable {name}. Does the
--- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -4489,6 +4489,8 @@ E1388 vim9class.txt /*E1388* E1389 vim9class.txt /*E1389* E139 message.txt /*E139* E1390 vim9class.txt /*E1390* +E1391 eval.txt /*E1391* +E1392 eval.txt /*E1392* E140 message.txt /*E140* E141 message.txt /*E141* E142 message.txt /*E142* @@ -4513,6 +4515,7 @@ E1508 editing.txt /*E1508* E1509 editing.txt /*E1509* E151 helphelp.txt /*E151* E152 helphelp.txt /*E152* +E1520 builtin.txt /*E1520* E153 helphelp.txt /*E153* E154 helphelp.txt /*E154* E155 sign.txt /*E155* @@ -5007,6 +5010,8 @@ E610 editing.txt /*E610* E611 eval.txt /*E611* E612 sign.txt /*E612* E613 print.txt /*E613* +E614 builtin.txt /*E614* +E616 builtin.txt /*E616* E617 options.txt /*E617* E618 print.txt /*E618* E619 print.txt /*E619* @@ -5090,6 +5095,7 @@ E69 pattern.txt /*E69* E690 eval.txt /*E690* E691 eval.txt /*E691* E692 eval.txt /*E692* +E693 builtin.txt /*E693* E694 eval.txt /*E694* E695 eval.txt /*E695* E696 eval.txt /*E696* @@ -5103,6 +5109,7 @@ E702 builtin.txt /*E702* E703 eval.txt /*E703* E704 eval.txt /*E704* E705 eval.txt /*E705* +E706 builtin.txt /*E706* E707 eval.txt /*E707* E708 eval.txt /*E708* E709 eval.txt /*E709*