neovim/test/functional/api
Justin M. Keyes b9ad12e6c2 UI/nvim_ui_attach(): add override option
Before now, Nvim always degrades UI capabilities to the lowest-common
denominator. For example, if any connected UI has `ext_messages=false`
then `ext_messages=true` requested by any other connected UI is ignored.

Now `nvim_ui_attach()` supports `override=true`, which flips the
behavior: if any UI requests an `ext_*` UI capability then the
capability is enabled (and the legacy behavior is disabled).

Legacy UIs will be broken while a `override=true` UI is connected, but
it's useful for debugging: you can type into the TUI and observe the UI
events from another connected (UI) client. And the legacy UI will
"recover" after the `override=true` UI disconnects.

Example using pynvim:

    >>> n.ui_attach(2048, 2048, rgb=True, override=True, ext_multigrid=True, ext_messages=True, ext_popupmenu=True)
    >>> while True: n.next_message();
2019-05-09 22:27:41 +02:00
..
buffer_spec.lua API: fix cursor position when lines are added #9961 2019-05-07 09:17:37 +02:00
buffer_updates_spec.lua API/buffer-updates: always detach on buf-reload #9643 2019-03-01 20:01:50 +01:00
command_spec.lua tests: <SNR> is represented as 'R' (ASCII) 2018-07-12 20:26:54 -04:00
highlight_spec.lua Merge #7917 'API: buffer updates' 2018-06-08 10:13:04 +02:00
keymap_spec.lua API: nvim_get_commands() 2018-05-11 13:20:19 +02:00
menu_spec.lua tests: improve robustness of immediate successes in screen tests 2018-10-15 20:13:11 +02:00
proc_spec.lua API: nvim_get_proc() 2018-03-18 00:11:45 +01:00
rpc_fixture.lua CI/AppVeyor: per-compiler deps cache #9852 2019-04-07 03:54:22 +02:00
server_notifications_spec.lua API: nvim_unsubscribe(): Handle unknown events #8745 2018-08-28 10:20:19 +02:00
server_requests_spec.lua startup: always wait for UI with --embed, unless --headless also is supplied 2018-09-22 10:18:28 +02:00
tabpage_spec.lua API: Avoid overrun when formatting error-message 2018-09-05 08:04:15 +02:00
ui_spec.lua test/util: expect_err() (#8257) 2018-04-11 22:07:00 +02:00
version_spec.lua test/api: verify that UI options from stable metadata are preserved 2018-12-21 10:52:25 +01:00
vim_spec.lua UI/nvim_ui_attach(): add override option 2019-05-09 22:27:41 +02:00
window_spec.lua api: add nvim_win_close() to close window by id 2019-03-03 13:09:43 +01:00