|
1 | | -*eval.txt* For Vim version 8.0. Last change: 2017 Mar 04 |
| 1 | +*eval.txt* For Vim version 8.0. Last change: 2017 Mar 09 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -1904,6 +1904,8 @@ v:termresponse The escape sequence returned by the terminal for the |t_RV| |
1904 | 1904 |
|
1905 | 1905 | *v:testing* *testing-variable* |
1906 | 1906 | v:testing Must be set before using `test_garbagecollect_now()`. |
| 1907 | + Also, when set certain error messages won't be shown for 2 |
| 1908 | + seconds. (e.g. "'dictionary' option is empty") |
1907 | 1909 |
|
1908 | 1910 | *v:this_session* *this_session-variable* |
1909 | 1911 | v:this_session Full filename of the last loaded or saved session file. See |
@@ -7797,14 +7799,6 @@ test_autochdir() *test_autochdir()* |
7797 | 7799 | Set a flag to enable the effect of 'autochdir' before Vim |
7798 | 7800 | startup has finished. |
7799 | 7801 |
|
7800 | | - *test_disable_char_avail()* |
7801 | | -test_disable_char_avail({expr}) |
7802 | | - When {expr} is 1 the internal char_avail() function will |
7803 | | - return |FALSE|. When {expr} is 0 the char_avail() function will |
7804 | | - function normally. |
7805 | | - Only use this for a test where typeahead causes the test not |
7806 | | - to work. E.g., to trigger the CursorMovedI autocommand event. |
7807 | | - |
7808 | 7802 | test_garbagecollect_now() *test_garbagecollect_now()* |
7809 | 7803 | Like garbagecollect(), but executed right away. This must |
7810 | 7804 | only be called directly to avoid any structure to exist |
@@ -7840,6 +7834,18 @@ test_null_partial() *test_null_partial()* |
7840 | 7834 | test_null_string() *test_null_string()* |
7841 | 7835 | Return a String that is null. Only useful for testing. |
7842 | 7836 |
|
| 7837 | +test_override({name}, {val}) *test_override()* |
| 7838 | + Overrides certain parts of Vims internal processing to be able |
| 7839 | + to run tests. Only to be used for testing Vim! |
| 7840 | + The override is enabled when {val} is non-zero and removed |
| 7841 | + when {val} is zero. |
| 7842 | + Current supported values for name are: |
| 7843 | + |
| 7844 | + name effect when {val} is non-zero ~ |
| 7845 | + redraw disable the redrawing() function |
| 7846 | + char_avail disable the char_avail() function |
| 7847 | + ALL clear all overrides ({val} is not used) |
| 7848 | + |
7843 | 7849 | test_settime({expr}) *test_settime()* |
7844 | 7850 | Set the time Vim uses internally. Currently only used for |
7845 | 7851 | timestamps in the history, as they are used in viminfo, and |
|
0 commit comments