1- *builtin.txt* For Vim version 9.0. Last change: 2023 Jan 17
1+ *builtin.txt* For Vim version 9.0. Last change: 2023 Feb 27
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -266,7 +266,7 @@ gettabwinvar({tabnr}, {winnr}, {name} [, {def}])
266266gettagstack([{nr} ]) Dict get the tag stack of window {nr}
267267gettext({text} ) String lookup translation of {text}
268268getwininfo([{winid} ]) List list of info about each window
269- getwinpos([{timeout} ]) List X and Y coord in pixels of the Vim window
269+ getwinpos([{timeout} ]) List X and Y coord in pixels of Vim window
270270getwinposx() Number X coord in pixels of the Vim window
271271getwinposy() Number Y coord in pixels of the Vim window
272272getwinvar({nr} , {varname} [, {def} ])
@@ -382,7 +382,7 @@ matchstrpos({expr}, {pat} [, {start} [, {count}]])
382382max({expr} ) Number maximum value of items in {expr}
383383menu_info({name} [, {mode} ]) Dict get menu item information
384384min({expr} ) Number minimum value of items in {expr}
385- mkdir({name} [, {path } [, {prot} ]])
385+ mkdir({name} [, {flags } [, {prot} ]])
386386 Number create directory {name}
387387mode([expr]) String current editing mode
388388mzeval({expr} ) any evaluate | MzScheme | expression
@@ -2571,8 +2571,7 @@ extend({expr1}, {expr2} [, {expr3}]) *extend()*
25712571 extendnew({expr1} , {expr2} [, {expr3} ]) *extendnew()*
25722572 Like | extend() | but instead of adding items to {expr1} a new
25732573 List or Dictionary is created and returned. {expr1} remains
2574- unchanged. Items can still be changed by {expr2} , if you
2575- don't want that use | deepcopy() | first.
2574+ unchanged.
25762575
25772576
25782577feedkeys({string} [, {mode} ]) *feedkeys()*
@@ -6263,17 +6262,20 @@ min({expr}) Return the minimum value of all items in {expr}. Example: >
62636262 mylist->min()
62646263
62656264< *mkdir()* *E739*
6266- mkdir({name} [, {path } [, {prot} ]])
6265+ mkdir({name} [, {flags } [, {prot} ]])
62676266 Create directory {name} .
62686267
6269- If {path} contains "p" then intermediate directories are
6270- created as necessary. Otherwise it must be "".
6268+ When {flags} is present it must be a string. An empty string
6269+ has no effect.
6270+
6271+ If {flags} contains "p" then intermediate directories are
6272+ created as necessary.
62716273
6272- If {path } contains "D" then {name} is deleted at the end of
6274+ If {flags } contains "D" then {name} is deleted at the end of
62736275 the current function, as with: >
62746276 defer delete({name}, 'd')
62756277<
6276- If {path } contains "R" then {name} is deleted recursively at
6278+ If {flags } contains "R" then {name} is deleted recursively at
62776279 the end of the current function, as with: >
62786280 defer delete({name}, 'rf')
62796281< Note that when {name} has more than one part and "p" is used
@@ -7960,7 +7962,7 @@ setcellwidths({list}) *setcellwidths()*
79607962 terminal, counted in screen cells. The values override
79617963 'ambiwidth' . Example: >
79627964 call setcellwidths([
7963- \ [0x111, 0x111, 1],
7965+ \ [0x111, 0x111, 1],
79647966 \ [0x2194, 0x2199, 2],
79657967 \ ])
79667968
@@ -7974,7 +7976,7 @@ setcellwidths({list}) *setcellwidths()*
79747976 {width} must be either 1 or 2, indicating the character width
79757977 in screen cells. *E1112*
79767978 An error is given if the argument is invalid, also when a
7977- range overlaps with another. *E1113*
7979+ range overlaps with another. *E1113*
79787980
79797981 If the new value causes 'fillchars' or 'listchars' to become
79807982 invalid it is rejected and an error is given.
@@ -9832,6 +9834,8 @@ timer_start({time}, {callback} [, {options}])
98329834 {time} is the waiting time in milliseconds. This is the
98339835 minimum time before invoking the callback. When the system is
98349836 busy or Vim is not waiting for input the time will be longer.
9837+ Zero can be used to execute the callback when Vim is back in
9838+ the main loop.
98359839
98369840 {callback} is the function to call. It can be the name of a
98379841 function or a | Funcref | . It is called with one argument, which
@@ -10575,7 +10579,7 @@ writefile({object}, {fname} [, {flags}])
1057510579<
1057610580 'D' Delete the file when the current function ends. This
1057710581 works like: >
10578- :defer delete({fname})
10582+ :defer delete({fname})
1057910583< Fails when not in a function. Also see | :defer | .
1058010584
1058110585 's' fsync() is called after writing the file. This flushes
0 commit comments