neovim/test/functional
Kei Kamikawa c6dc397801
fixed hang issue with --headless and -r option specified (#12209)
* fixed hang issue with --headless and -r option specified

Calling the do_more_prompt function in headless mode will freeze neovim because it is eventally in the input-accepting state (the same as waiting for --more--).

* fixed "Press ENTER or type command to continue" to be suppressed

If in headless mode, we need to exit at this point. If we continue, we will enter the normal mode and the message "Press ENTER or type command to continue" will be displayed and we will be in the input waiting state.

* fixed functional ex_cmds tests

* Revert "fixed "Press ENTER or type command to continue" to be suppressed"

This reverts commit a02dc40e3b.

* Revert "fixed functional ex_cmds tests"

This reverts commit 3bdb8da20a.

* fixed conditional again

* added test for fixed hang issue with --headless (#11386)
2020-05-20 10:32:02 -04:00
..
api paste: support replace mode (#11945) 2020-05-05 13:18:41 +02:00
autocmd tabpage: "tabnext #" switches to previous tab #11734 2020-01-20 15:14:51 -08:00
cmdline doc: fix typos 2019-11-27 22:47:25 -08:00
core fixed hang issue with --headless and -r option specified (#12209) 2020-05-20 10:32:02 -04:00
eval lua: move test helper function, map and filter, to vim.shared module 2020-02-18 17:43:10 +09:00
ex_cmds test: add more profile tests 2020-05-10 03:16:30 +09:00
fixtures test/LSP: assert contents of log file 2020-02-16 22:09:28 -08:00
insert edit.c: Ensure undo sync when emulating <Esc>x #11706 2020-01-12 17:09:39 -08:00
legacy vim-patch:8.1.1510: a plugin cannot easily expand a command like done internally 2020-03-01 03:57:58 -05:00
lua test: fix flaky vim.defer_fn test 2020-05-19 00:02:14 +09:00
normal lua: move test helper function, map and filter, to vim.shared module 2020-02-18 17:43:10 +09:00
options vim-patch:8.1.0864 Make 'scrolloff' and 'sidescrolloff' options window local (#11854) 2020-03-17 20:05:34 +01:00
plugin lsp: Handle end lines in apply_text_edits (#12314) 2020-05-17 13:47:14 -04:00
provider provider/perl: test older versions 2020-01-20 19:44:00 -05:00
shada shada: initialize jumplist before search pattern (#10964) 2019-09-07 18:02:29 -07:00
terminal terminal: disable 'scrolloff' (fixes flicker) 2020-05-04 21:21:33 -07:00
ui api/ui: simplify popup menu position get/set logic; fix test 2020-04-28 01:54:16 +08:00
viml tests: adjust to latest Vim patches 2019-05-05 14:05:25 +02:00
example_spec.lua screen.lua: remove screen:_on_event #11488 2019-12-01 01:06:10 -08:00
helpers.lua lua: move test helper function, map and filter, to vim.shared module 2020-02-18 17:43:10 +09:00
preload.lua test/functional/preload.lua: _set_fmode for Windows 2019-09-25 05:47:15 +02:00