Mercurial > vim
comparison runtime/doc/builtin.txt @ 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 | dcfbfe57141c |
children | 26a606faa9cb |
comparison
equal
deleted
inserted
replaced
33435:5831a6b5e1af | 33436:3f96c75df76d |
---|---|
1853 | 1853 |
1854 Can also be used as a |method|: > | 1854 Can also be used as a |method|: > |
1855 Compute()->cosh() | 1855 Compute()->cosh() |
1856 | 1856 |
1857 | 1857 |
1858 count({comp}, {expr} [, {ic} [, {start}]]) *count()* | 1858 count({comp}, {expr} [, {ic} [, {start}]]) *count()* *E706* |
1859 Return the number of times an item with value {expr} appears | 1859 Return the number of times an item with value {expr} appears |
1860 in |String|, |List| or |Dictionary| {comp}. | 1860 in |String|, |List| or |Dictionary| {comp}. |
1861 | 1861 |
1862 If {start} is given then start with the item with this index. | 1862 If {start} is given then start with the item with this index. |
1863 {start} can only be used with a |List|. | 1863 {start} can only be used with a |List|. |
5050 Note that when {item} is a |List| it is inserted as a single | 5050 Note that when {item} is a |List| it is inserted as a single |
5051 item. Use |extend()| to concatenate |Lists|. | 5051 item. Use |extend()| to concatenate |Lists|. |
5052 | 5052 |
5053 Can also be used as a |method|: > | 5053 Can also be used as a |method|: > |
5054 mylist->insert(item) | 5054 mylist->insert(item) |
5055 | 5055 < |
5056 instanceof({object}, {class}) *instanceof()* | 5056 *instanceof()* *E614* *E616* *E693* |
5057 The result is a Number, which is |TRUE| when the {object} argument is a | 5057 instanceof({object}, {class}) |
5058 direct or indirect instance of a |Class| specified by {class}. | 5058 The result is a Number, which is |TRUE| when the {object} |
5059 When {class} is a |List| the function returns |TRUE| when {object} is an | 5059 argument is a direct or indirect instance of a |Class| |
5060 instance of any of the specified classes. | 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. | |
5061 Example: > | 5063 Example: > |
5062 instanceof(animal, [Dog, Cat]) | 5064 instanceof(animal, [Dog, Cat]) |
5063 | 5065 |
5064 < Can also be used as a |method|: > | 5066 < Can also be used as a |method|: > |
5065 myobj->instanceof(mytype) | 5067 myobj->instanceof(mytype) |
6687 number argument is to be used to specify the width or | 6689 number argument is to be used to specify the width or |
6688 precision, the argument(s) to be used must also be specified | 6690 precision, the argument(s) to be used must also be specified |
6689 using a {n$} positional argument specifier. See |printf-$|. | 6691 using a {n$} positional argument specifier. See |printf-$|. |
6690 | 6692 |
6691 | 6693 |
6694 *E1520* | |
6692 The conversion specifiers and their meanings are: | 6695 The conversion specifiers and their meanings are: |
6693 | 6696 |
6694 *printf-d* *printf-b* *printf-B* *printf-o* | 6697 *printf-d* *printf-b* *printf-B* *printf-o* |
6695 *printf-x* *printf-X* | 6698 *printf-x* *printf-X* |
6696 dbBoxX The Number argument is converted to signed decimal | 6699 dbBoxX The Number argument is converted to signed decimal |