|
1 | | -*eval.txt* For Vim version 8.2. Last change: 2020 Jan 19 |
| 1 | +*eval.txt* For Vim version 8.2. Last change: 2020 Feb 03 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -1808,7 +1808,9 @@ v:errors Errors found by assert functions, such as |assert_true()|. |
1808 | 1808 |
|
1809 | 1809 | *v:event* *event-variable* |
1810 | 1810 | v:event Dictionary containing information about the current |
1811 | | - |autocommand|. The dictionary is emptied when the |autocommand| |
| 1811 | + |autocommand|. See the specific event for what it puts in |
| 1812 | + this dictionary. |
| 1813 | + The dictionary is emptied when the |autocommand| |
1812 | 1814 | finishes, please refer to |dict-identity| for how to get an |
1813 | 1815 | independent copy of it. |
1814 | 1816 |
|
@@ -2858,6 +2860,7 @@ term_wait({buf} [, {time}]) Number wait for screen to be updated |
2858 | 2860 | test_alloc_fail({id}, {countdown}, {repeat}) |
2859 | 2861 | none make memory allocation fail |
2860 | 2862 | test_autochdir() none enable 'autochdir' during startup |
| 2863 | +test_clear_search_pat() none clears the last used search pattern |
2861 | 2864 | test_feedinput({string}) none add key sequence to input buffer |
2862 | 2865 | test_garbagecollect_now() none free memory right now for testing |
2863 | 2866 | test_garbagecollect_soon() none free memory soon for testing |
@@ -3467,6 +3470,7 @@ chdir({dir}) *chdir()* |
3467 | 3470 | directory (|:tcd|) then changes the tabpage local |
3468 | 3471 | directory. |
3469 | 3472 | - Otherwise, changes the global directory. |
| 3473 | + {dir} must be a String. |
3470 | 3474 | If successful, returns the previous working directory. Pass |
3471 | 3475 | this to another chdir() to restore the directory. |
3472 | 3476 | On failure, returns an empty string. |
@@ -5676,7 +5680,7 @@ getwininfo([{winid}]) *getwininfo()* |
5676 | 5680 | GetWinnr()->getwininfo() |
5677 | 5681 |
|
5678 | 5682 | getwinpos([{timeout}]) *getwinpos()* |
5679 | | - The result is a list with two numbers, the result of |
| 5683 | + The result is a List with two numbers, the result of |
5680 | 5684 | |getwinposx()| and |getwinposy()| combined: |
5681 | 5685 | [x-pos, y-pos] |
5682 | 5686 | {timeout} can be used to specify how long to wait in msec for |
@@ -10473,6 +10477,7 @@ winline() The result is a Number, which is the screen line of the cursor |
10473 | 10477 | *winnr()* |
10474 | 10478 | winnr([{arg}]) The result is a Number, which is the number of the current |
10475 | 10479 | window. The top window has number 1. |
| 10480 | + Returns zero for a popup window. |
10476 | 10481 |
|
10477 | 10482 | The optional argument {arg} supports the following values: |
10478 | 10483 | $ the number of the last window (the window |
|
0 commit comments