neovim/test/functional
Marco Hinz 3e78319ac6
help: ignore snapshotted window if invalid (#9774)
Nvim doesn't expect a window-changing command on an created-window event.

    autocmd WinNew * wincmd p
    help help

- A snapshot for window 1000 is created.
- The window is split and the cursor changes to the new window 1001.
- The autocmd kicks in and switches back to 1000.
- The help buffer is opened.
- On closing the help window 1000, it tries to go back to the snapshotted window
  which is... 1000.
- wp1000->w_buffer == NULL
- w_buffer is used by check_cursor()
- 🧨 -> 💥

Fixes https://github.com/neovim/neovim/issues/9773
2019-03-23 00:23:39 +01:00
..
api aucmd_prepbuf: also restore prevwin #9741 2019-03-17 02:09:06 +01:00
autocmd autocmd: do not show empty section after ++once handlers expire 2019-03-14 01:30:11 +01:00
clipboard clipboard: Support custom VimL functions #9304 2018-12-03 00:07:08 +01:00
cmdline
core startup: Use $XDG_CONFIG_DIRS/nvim/sysinit.vim if it exists 2018-12-16 12:05:47 -05:00
eval test/env: multibyte env var to child process 2019-02-28 22:40:11 +01:00
ex_cmds help: ignore snapshotted window if invalid (#9774) 2019-03-23 00:23:39 +01:00
fixtures test/env: multibyte env var to child process 2019-02-28 22:40:11 +01:00
insert insert-mode: interpret unmapped META as ESC 2018-04-04 03:23:15 +02:00
legacy API: don't directly call update_screen() in API functions 2019-01-08 23:31:48 +01:00
lua Merge #9686 'win/Lua: monkey-patch os.getenv()' 2019-03-16 20:28:52 +01:00
normal tests: improve robustness of immediate successes in screen tests 2018-10-15 20:13:11 +02:00
options vim-patch:8.0.1114: default for 'iminsert' is annoying 2019-02-03 09:52:13 -05:00
plugin functionaltest: win: enable shada FileWriteCmd 2018-10-31 22:55:07 -04:00
provider provider: improve error message if provider is missing (#9487) 2019-01-12 00:52:12 +01:00
shada startup: always wait for UI with --embed, unless --headless also is supplied 2018-09-22 10:18:28 +02:00
spell test/rmdir(): Remove readonly attr on Windows. 2017-04-10 22:59:30 +02:00
terminal test: simplify TUI bg-detection test 2019-03-15 05:26:41 +01:00
ui api: ignore floating windows for laststatus=1 (#9771) 2019-03-22 17:17:33 +01:00
viml autocmd: add MenuPopupChanged autocmd 2019-03-15 04:24:41 +08:00
example_spec.lua vim-patch:8.1.{0849,1001}: 'cursorline' highlight #9757 2019-03-19 12:24:41 +01:00
helpers.lua Merge #9292 from mhinz/xcode10 2019-01-17 23:24:03 +01:00
preload.lua