aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/input_spec.lua
Commit message (Collapse)AuthorAge
* test: reorg #15698Justin M. Keyes2021-09-17
| | | | | | | | | | | | | | | | | | | | Problem: Subdirectories like "visual", "insert", "normal" encourage people to separate *related* tests for no good reason. Typically the _mode_ is not the relevant topic of a test (and when it is, _then_ create an appropriate describe() or it()). Solution: - Delete the various `test/functional/<mode>/` subdirectories, move their tests to more meaningful topics. - Rename `…/normal/` to `…/editor/`. - Move or merge `…/visual/*` and `…/insert/*` tests into here where appropriate. - Rename `…/eval/` to `…/vimscript/`. - Move `…/viml/*` into here also. * test(reorg): insert/* => editor/mode_insert_spec.lua * test(reorg): cmdline/* => editor/mode_cmdline_spec.lua * test(reorg): eval core tests => eval_spec.lua
* vim-patch:8.2.0966: 'shortmess' flag "n" not used in two placesJan Edmund Lazo2020-06-18
| | | | | | | Problem: 'shortmess' flag "n" not used in two places. Solution: Make use of the "n" flag consistent. (Nick Jensen, closes vim/vim#6245, closes vim/vim#6244) https://github.com/vim/vim/commit/722e505d1a55dfde5ab62241d10da91d2e10c3c1
* VimL/confirm(): Show dialog even if :silentJustin M. Keyes2018-12-01
| | | | | closes #8788 related #9034
* ui: disable clearing almost everywhereBjörn Linse2018-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid clearing the screen in most situations. NOT_VALID should be equivalent to CLEAR unless some external force messed up the terminal, for these situations <c-l> and :mode will still clear the screen. Also eliminate some obsolete code in screen.c, that dealt with that in vim drawing window 1 can mess up window 2, but this never happens in nvim. But what about slow terminals? There is two common meanings in which a terminal is said to be "slow": Most commonly (and in the sense of vim:s nottyfast) it means low bandwidth for sending bytes from nvim to the terminal. If the screen is very similar before and after the update_screen(CLEAR) this change should reduce bandwidth. If the screen is quite different, but there is no new regions of contiguous whitespace, clearing doesn't reduce bandwidth significantly. If the new screen contains a lot of whitespace, it will depend of if vsplits are used or not: as long as there is no vsplits, ce is used to cheaply clear the rest of the line, so full-screen clear is not needed to reduce bandwith. However a left vsplit currently needs to be padded with whitespace all the way to the separator. It is possible ec (clear N chars) can be used to reduce bandwidth here if this is a problem. (All of this assumes that one doesn't set Normal guibg=... on a non-BCE terminal, if you do you are doomed regardless of this change). Slow can also mean that drawing pixels on the screen is slow. E-ink screens is a recent example. Avoiding clearing and redrawing the unchanged part of the screen will always improve performance in these cases.
* tests: improve robustness of immediate successes in screen testsBjörn Linse2018-10-15
|
* msg: do not scroll entire screen (#8088)Björn Linse2018-03-31
|
* getcmdline_prompt: Temporarily disable msg_silent so prompt is displayedJames McCoy2017-10-14
| | | | | vim-patch:7.4.1636 Closes #7378
* functests: Remove wait() from input_specZyX2017-08-06
|
* Revert "functests: Replace wait() with nvim_async"ZyX2017-07-27
| | | | | | This reverts commit e129607988b88719935bc4af517e7ee2689f5871. Tests stopped working in CI.
* functests: Replace wait() with nvim_asyncZyX2017-07-26
|
* functests: Remove unneeded wait()sZyX2017-07-26
|
* functests: Add missing wait()ZyX2017-06-27
|
* eval,ex_getln: Add support for coloring input() promptsZyX2017-06-27
|
* functests: Reword regression test headersZyX2017-05-13
|
* functests: Remove “correctly” from non-regression testsZyX2017-05-13
|
* functests: Get rid of last redraws due to the “line above” issueZyX2017-05-11
|
* functests: Remove outdated commentsZyX2017-05-10
|
* functests: Remove some redraw callsZyX2017-05-10
|
* functests: Remove all wait()sZyX2017-05-10
|
* eval: Alter E5050 error message, test thatZyX2017-05-10
|
* eval: Refactor get_user_input to support dictionaryZyX2017-05-10
|
* eval: Move remaining get_tv_string* functions to eval/typval.cZyX2017-03-29