mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
b9ad12e6c2
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(); |
||
---|---|---|
.. | ||
buffer_spec.lua | ||
buffer_updates_spec.lua | ||
command_spec.lua | ||
highlight_spec.lua | ||
keymap_spec.lua | ||
menu_spec.lua | ||
proc_spec.lua | ||
rpc_fixture.lua | ||
server_notifications_spec.lua | ||
server_requests_spec.lua | ||
tabpage_spec.lua | ||
ui_spec.lua | ||
version_spec.lua | ||
vim_spec.lua | ||
window_spec.lua |