1
0
forked from aniani/vim

Update runtime files

This commit is contained in:
Bram Moolenaar
2022-07-25 15:42:07 +01:00
parent cd6ad6439d
commit b529cfbd04
28 changed files with 877 additions and 458 deletions

View File

@@ -293,7 +293,7 @@ index({object}, {expr} [, {start} [, {ic}]])
Number index in {object} where {expr} appears
input({prompt} [, {text} [, {completion}]])
String get input from the user
inputdialog({prompt} [, {text} [, {completion}]])
inputdialog({prompt} [, {text} [, {cancelreturn}]])
String like input() but in a GUI dialog
inputlist({textlist}) Number let the user pick from a choice list
inputrestore() Number restore typeahead
@@ -1149,7 +1149,7 @@ blob2list({blob}) *blob2list()*
Can also be used as a |method|: >
GetBlob()->blob2list()
<
*browse()*
browse({save}, {title}, {initdir}, {default})
Put up a file requester. This only works when "has("browse")"
@@ -2316,7 +2316,9 @@ exists({expr}) The result is a Number, which is |TRUE| if {expr} is defined,
To check for a supported command
always check the return value to be 2.
:2match The |:2match| command.
:3match The |:3match| command.
:3match The |:3match| command (but you
probably should not use it, it is
reserved for internal usage)
#event autocommand defined for this event
#event#pattern autocommand defined for this event and
pattern (the pattern is taken
@@ -5773,8 +5775,10 @@ matchadd({group}, {pattern} [, {priority} [, {id} [, {dict}]]])
message will appear and the match will not be added. An ID
is specified as a positive integer (zero excluded). IDs 1, 2
and 3 are reserved for |:match|, |:2match| and |:3match|,
respectively. If the {id} argument is not specified or -1,
|matchadd()| automatically chooses a free ID.
respectively. 3 is reserved for use by the
|matchparen|polugin.
If the {id} argument is not specified or -1, |matchadd()|
automatically chooses a free ID.
The optional {dict} argument allows for further custom
values. Currently this is used to specify a match specific
@@ -7475,7 +7479,7 @@ searchcount([{options}]) *searchcount()*
" to 1)
let result = searchcount()
<
The function is useful to add the count to |statusline|: >
The function is useful to add the count to 'statusline': >
function! LastSearchCount() abort
let result = searchcount(#{recompute: 0})
if empty(result)