neovim/test/functional
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
..
api UI/nvim_ui_attach(): add override option 2019-05-09 22:27:41 +02:00
autocmd cursormoved: add tests for CursorMoved 2019-03-29 10:58:53 +01:00
cmdline cmdline: CTRL-R: Omit trailing <CR>. 2017-02-18 23:24:35 +01:00
core test: cleanup 2019-05-05 23:01:35 +02:00
eval test: "$PATHEXT=::" 2019-04-02 01:28:11 +02:00
ex_cmds vim-patch:8.0.1782: no simple way to label quickfix entries 2019-05-05 13:46:19 +02: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 test: clear(): args_rm parameter 2019-04-27 16:19:40 +02:00
lua Merge #9686 'win/Lua: monkey-patch os.getenv()' 2019-03-16 20:28:52 +01:00
normal jumplist: avoid extra tail entry #9805 2019-04-02 00:50:28 +02:00
options win/defaults: Use "…/nvim-data/site" in 'runtimepath' 2019-04-28 00:27:07 +02:00
plugin functionaltest: win: enable shada FileWriteCmd 2018-10-31 22:55:07 -04:00
provider test: cleanup 2019-05-05 23:01:35 +02:00
shada jumplist: avoid extra tail entry #9805 2019-04-02 00:50:28 +02:00
terminal UI/nvim_ui_attach(): add override option 2019-05-09 22:27:41 +02:00
ui ex_getln: fix statusline redraw logic #9967 2019-05-02 11:38:21 +02:00
viml tests: adjust to latest Vim patches 2019-05-05 14:05:25 +02:00
example_spec.lua vim-patch:8.1.{0849,1001}: 'cursorline' highlight #9757 2019-03-19 12:24:41 +01:00
helpers.lua terminal: swap priority of terminal, editor highlights 2019-05-02 09:56:22 +02:00
preload.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00