mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
feat(api): more fields in nvim_list_uis
Problem: nvim_list_uis does not report all ":help ui-option" fields. Solution: Store ":help ui-option" fields on the `UI` object and update ui_array.
This commit is contained in:
@@ -2549,20 +2549,26 @@ describe('API', function()
|
||||
{
|
||||
chan = 1,
|
||||
ext_cmdline = false,
|
||||
ext_hlstate = false,
|
||||
ext_linegrid = screen._options.ext_linegrid or false,
|
||||
ext_messages = false,
|
||||
ext_multigrid = false,
|
||||
ext_popupmenu = false,
|
||||
ext_tabline = false,
|
||||
ext_wildmenu = false,
|
||||
ext_linegrid = screen._options.ext_linegrid or false,
|
||||
ext_multigrid = false,
|
||||
ext_hlstate = false,
|
||||
ext_termcolors = false,
|
||||
ext_messages = false,
|
||||
ext_wildmenu = false,
|
||||
height = 4,
|
||||
rgb = true,
|
||||
override = true,
|
||||
rgb = true,
|
||||
stdin_tty = false,
|
||||
stdout_tty = false,
|
||||
term_background = '',
|
||||
term_colors = 0,
|
||||
term_name = '',
|
||||
width = 20,
|
||||
}
|
||||
}
|
||||
|
||||
eq(expected, nvim("list_uis"))
|
||||
|
||||
screen:detach()
|
||||
|
Reference in New Issue
Block a user