1- *eval.txt* For Vim version 8.2. Last change: 2020 Oct 05
1+ *eval.txt* For Vim version 8.2. Last change: 2020 Oct 23
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -120,7 +120,7 @@ base, use |str2nr()|.
120120
121121 *TRUE* *FALSE* *Boolean*
122122For boolean operators Numbers are used. Zero is FALSE, non-zero is TRUE.
123- You can also use |v:false| and |v:true|. In Vim9 script |false| and |true|.
123+ You can also use |v:false| and |v:true|. In Vim9 script |false| and |true|.
124124When TRUE is returned from a function it is the Number one, FALSE is the
125125number zero.
126126
@@ -2758,7 +2758,7 @@ prop_type_change({name}, {props})
27582758 none change an existing property type
27592759prop_type_delete({name} [, {props}])
27602760 none delete a property type
2761- prop_type_get([ {name} [, {props}] ])
2761+ prop_type_get({name} [, {props}])
27622762 Dict get property type values
27632763prop_type_list([{props}]) List get list of property types
27642764pum_getpos() Dict position and size of pum if visible
@@ -3138,7 +3138,7 @@ appendbufline({expr}, {lnum}, {text}) *appendbufline()*
31383138 error message is given. Example: >
31393139 :let failed = appendbufline(13, 0, "# THE START")
31403140<
3141- < Can also be used as a |method| after a List, the base is
3141+ Can also be used as a |method| after a List, the base is
31423142 passed as the second argument: >
31433143 mylist->appendbufline(buf, lnum)
31443144
@@ -7379,8 +7379,15 @@ matchfuzzy({list}, {str} [, {dict}]) *matchfuzzy()*
73797379 the strings in {list} that fuzzy match {str}. The strings in
73807380 the returned list are sorted based on the matching score.
73817381
7382+ The optional {dict} argument always supports the following
7383+ items:
7384+ matchseq When this item is present and {str} contains
7385+ multiple words separated by white space, then
7386+ returns only matches that contain the words in
7387+ the given sequence.
7388+
73827389 If {list} is a list of dictionaries, then the optional {dict}
7383- argument supports the following items:
7390+ argument supports the following additional items:
73847391 key key of the item which is fuzzy matched against
73857392 {str}. The value of this item should be a
73867393 string.
@@ -7394,6 +7401,9 @@ matchfuzzy({list}, {str} [, {dict}]) *matchfuzzy()*
73947401 matching is NOT supported. The maximum supported {str} length
73957402 is 256.
73967403
7404+ When {str} has multiple words each separated by white space,
7405+ then the list of strings that have all the words is returned.
7406+
73977407 If there are no matching strings or there is an error, then an
73987408 empty list is returned. If length of {str} is greater than
73997409 256, then returns an empty list.
@@ -7413,7 +7423,12 @@ matchfuzzy({list}, {str} [, {dict}]) *matchfuzzy()*
74137423 :echo v:oldfiles->matchfuzzy("test")
74147424< results in a list of file names fuzzy matching "test". >
74157425 :let l = readfile("buffer.c")->matchfuzzy("str")
7416- < results in a list of lines in "buffer.c" fuzzy matching "str".
7426+ < results in a list of lines in "buffer.c" fuzzy matching "str". >
7427+ :echo ['one two', 'two one']->matchfuzzy('two one')
7428+ < results in ['two one', 'one two']. >
7429+ :echo ['one two', 'two one']->matchfuzzy('two one',
7430+ \ {'matchseq': 1})
7431+ < results in ['two one'].
74177432
74187433matchfuzzypos({list}, {str} [, {dict}]) *matchfuzzypos()*
74197434 Same as |matchfuzzy()|, but returns the list of matched
@@ -7969,8 +7984,8 @@ printf({fmt}, {expr1} ...) *printf()*
79697984
79707985
79717986prompt_getprompt({buf}) *prompt_getprompt()*
7972- Returns the effective prompt text for buffer {buf}. {buf} can
7973- be a buffer name or number. |prompt-buffer|.
7987+ Returns the effective prompt text for buffer {buf}. {buf} can
7988+ be a buffer name or number. See |prompt-buffer|.
79747989
79757990 If the buffer doesn't exist or isn't a prompt buffer, an empty
79767991 string is returned.
@@ -10706,8 +10721,8 @@ terminalprops() *terminalprops()*
1070610721 detected from the response to |t_RV| request. See
1070710722 |v:termresponse| for the response itself. If |v:termresponse|
1070810723 is empty most values here will be 'u' for unknown.
10709- cursor_style wether sending |t_RS| works **
10710- cursor_blink_mode wether sending |t_RC| works **
10724+ cursor_style whether sending |t_RS| works **
10725+ cursor_blink_mode whether sending |t_RC| works **
1071110726 underline_rgb whether |t_8u| works **
1071210727 mouse mouse type supported
1071310728
@@ -11363,7 +11378,8 @@ winsaveview() Returns a |Dictionary| that contains information to restore
1136311378 curswant column for vertical movement
1136411379 topline first line in the window
1136511380 topfill filler lines, only in diff mode
11366- leftcol first column displayed
11381+ leftcol first column displayed; only used when
11382+ 'wrap' is off
1136711383 skipcol columns skipped
1136811384 Note that no option values are saved.
1136911385
@@ -12142,8 +12158,9 @@ be used to pass settings to the autoload script before it's loaded: >
1214212158
1214312159Note that when you make a mistake and call a function that is supposed to be
1214412160defined in an autoload script, but the script doesn't actually define the
12145- function, the script will be sourced every time you try to call the function.
12146- And you will get an error message every time.
12161+ function, you will get an error message for the missing function. If you fix
12162+ the autoload script it won't be automatically loaded again. Either restart
12163+ Vim or manually source the script.
1214712164
1214812165Also note that if you have two script files, and one calls a function in the
1214912166other and vice versa, before the used function is defined, it won't work.
0 commit comments