Skip to content

Commit cd39b69

Browse files
authored
runtime(doc): add missing error numbers in the help. (#13241)
closes: #13240 Signed-off-by: Christian Brabandt <[email protected]>
1 parent 20f48d5 commit cd39b69

3 files changed

Lines changed: 21 additions & 7 deletions

File tree

runtime/doc/builtin.txt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,7 +1855,7 @@ cosh({expr}) *cosh()*
18551855
Compute()->cosh()
18561856
18571857
1858-
count({comp}, {expr} [, {ic} [, {start}]]) *count()*
1858+
count({comp}, {expr} [, {ic} [, {start}]]) *count()* *E706*
18591859
Return the number of times an item with value {expr} appears
18601860
in |String|, |List| or |Dictionary| {comp}.
18611861

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

50535053
Can also be used as a |method|: >
50545054
mylist->insert(item)
5055-
5056-
instanceof({object}, {class}) *instanceof()*
5057-
The result is a Number, which is |TRUE| when the {object} argument is a
5058-
direct or indirect instance of a |Class| specified by {class}.
5059-
When {class} is a |List| the function returns |TRUE| when {object} is an
5060-
instance of any of the specified classes.
5055+
<
5056+
*instanceof()* *E614* *E616* *E693*
5057+
instanceof({object}, {class})
5058+
The result is a Number, which is |TRUE| when the {object}
5059+
argument is a direct or indirect instance of a |Class|
5060+
specified by {class}.
5061+
When {class} is a |List| the function returns |TRUE| when
5062+
{object} is an instance of any of the specified classes.
50615063
Example: >
50625064
instanceof(animal, [Dog, Cat])
50635065
@@ -6689,6 +6691,7 @@ printf({fmt}, {expr1} ...) *printf()*
66896691
using a {n$} positional argument specifier. See |printf-$|.
66906692

66916693

6694+
*E1520*
66926695
The conversion specifiers and their meanings are:
66936696

66946697
*printf-d* *printf-b* *printf-B* *printf-o*

runtime/doc/eval.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3128,6 +3128,10 @@ text...
31283128
< You may want to make a copy of a list to avoid this.
31293129
See |deepcopy()|.
31303130

3131+
*E1391* *E1392*
3132+
Locking and unlocking object and class variables is
3133+
currently NOT supported.
3134+
31313135

31323136
:unlo[ckvar][!] [depth] {name} ... *:unlockvar* *:unlo* *E1246*
31333137
Unlock the internal variable {name}. Does the

runtime/doc/tags

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4489,6 +4489,8 @@ E1388 vim9class.txt /*E1388*
44894489
E1389 vim9class.txt /*E1389*
44904490
E139 message.txt /*E139*
44914491
E1390 vim9class.txt /*E1390*
4492+
E1391 eval.txt /*E1391*
4493+
E1392 eval.txt /*E1392*
44924494
E140 message.txt /*E140*
44934495
E141 message.txt /*E141*
44944496
E142 message.txt /*E142*
@@ -4513,6 +4515,7 @@ E1508 editing.txt /*E1508*
45134515
E1509 editing.txt /*E1509*
45144516
E151 helphelp.txt /*E151*
45154517
E152 helphelp.txt /*E152*
4518+
E1520 builtin.txt /*E1520*
45164519
E153 helphelp.txt /*E153*
45174520
E154 helphelp.txt /*E154*
45184521
E155 sign.txt /*E155*
@@ -5007,6 +5010,8 @@ E610 editing.txt /*E610*
50075010
E611 eval.txt /*E611*
50085011
E612 sign.txt /*E612*
50095012
E613 print.txt /*E613*
5013+
E614 builtin.txt /*E614*
5014+
E616 builtin.txt /*E616*
50105015
E617 options.txt /*E617*
50115016
E618 print.txt /*E618*
50125017
E619 print.txt /*E619*
@@ -5090,6 +5095,7 @@ E69 pattern.txt /*E69*
50905095
E690 eval.txt /*E690*
50915096
E691 eval.txt /*E691*
50925097
E692 eval.txt /*E692*
5098+
E693 builtin.txt /*E693*
50935099
E694 eval.txt /*E694*
50945100
E695 eval.txt /*E695*
50955101
E696 eval.txt /*E696*
@@ -5103,6 +5109,7 @@ E702 builtin.txt /*E702*
51035109
E703 eval.txt /*E703*
51045110
E704 eval.txt /*E704*
51055111
E705 eval.txt /*E705*
5112+
E706 builtin.txt /*E706*
51065113
E707 eval.txt /*E707*
51075114
E708 eval.txt /*E708*
51085115
E709 eval.txt /*E709*

0 commit comments

Comments
 (0)