diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-13 22:05:09 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-13 22:05:09 +0000 |
commit | 3e4fa3d7d37162cd08fc0c6e83f52fd323f63eba (patch) | |
tree | 69a8b9b5f02e2424d86a2671e53df5b07175413b /runtime | |
parent | d9d2fd0aa33dd9f7460d6f1e403505a60f7ce2fc (diff) |
patch 8.2.4087: cannot test items from an autoload script easilyv8.2.4087
Problem: Cannot test items from an autoload script easily.
Solution: Add the "autoload" value for test_override().
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/testing.txt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index 44296f0e71..3ff1450653 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -188,23 +188,25 @@ test_override({name}, {val}) *test_override()* to run tests. Only to be used for testing Vim! The override is enabled when {val} is non-zero and removed when {val} is zero. - Current supported values for name are: + Current supported values for {name} are: - name effect when {val} is non-zero ~ - redraw disable the redrawing() function - redraw_flag ignore the RedrawingDisabled flag + {name} effect when {val} is non-zero ~ + autoload `import autoload` will load the script right + away, not postponed until an item is used char_avail disable the char_avail() function - starting reset the "starting" variable, see below nfa_fail makes the NFA regexp engine fail to force a fallback to the old engine no_query_mouse do not query the mouse position for "dec" terminals no_wait_return set the "no_wait_return" flag. Not restored with "ALL". - ui_delay time in msec to use in ui_delay(); overrules a - wait time of up to 3 seconds for messages + redraw disable the redrawing() function + redraw_flag ignore the RedrawingDisabled flag + starting reset the "starting" variable, see below term_props reset all terminal properties when the version string is detected + ui_delay time in msec to use in ui_delay(); overrules a + wait time of up to 3 seconds for messages uptime overrules sysinfo.uptime ALL clear all overrides ({val} is not used) |