Skip to content

Commit

Permalink
runtime(doc): add missing error numbers in the help. (#13241)
Browse files Browse the repository at this point in the history
closes: #13240

Signed-off-by: Christian Brabandt <cb@256bit.org>
  • Loading branch information
yegappan committed Oct 2, 2023
1 parent 20f48d5 commit cd39b69
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
17 changes: 10 additions & 7 deletions runtime/doc/builtin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}.

Expand Down Expand Up @@ -5052,12 +5052,14 @@ insert({object}, {item} [, {idx}]) *insert()*

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])
Expand Down Expand Up @@ -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*
Expand Down
4 changes: 4 additions & 0 deletions runtime/doc/eval.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions runtime/doc/tags
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand All @@ -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*
Expand Down Expand Up @@ -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*
Expand Down Expand Up @@ -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*
Expand All @@ -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*
Expand Down

0 comments on commit cd39b69

Please sign in to comment.