mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 18:41:48 +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:
@@ -3868,6 +3868,7 @@ has({feature}) Returns 1 if {feature} is supported, 0 otherwise. The
|
||||
clipboard |clipboard| provider is available.
|
||||
fname_case Case in file names matters (for Darwin and MS-Windows
|
||||
this is not present).
|
||||
gui_running Nvim has a GUI.
|
||||
iconv Can use |iconv()| for conversion.
|
||||
linux Linux system.
|
||||
mac MacOS system.
|
||||
|
||||
@@ -179,6 +179,8 @@ The following new APIs or features were added.
|
||||
|
||||
Additionally |TSNode:range()| now takes an optional {include_bytes} argument.
|
||||
|
||||
• |nvim_list_uis()| reports all |ui-option| fields.
|
||||
|
||||
==============================================================================
|
||||
CHANGED FEATURES *news-changes*
|
||||
|
||||
|
||||
@@ -53,9 +53,8 @@ with these (optional) keys:
|
||||
- `term_name` Sets the name of the terminal 'term'.
|
||||
- `term_colors` Sets the number of supported colors 't_Co'.
|
||||
- `term_background` Sets the default value of 'background'.
|
||||
- `stdin_fd` Read buffer from `fd` as if it was a stdin pipe.
|
||||
This option can only used by |--embed| ui on startup.
|
||||
See |ui-startup-stdin|.
|
||||
- `stdin_fd` Read buffer 1 from this fd as if it were stdin |--|.
|
||||
Only from |--embed| UI on startup. |ui-startup-stdin|
|
||||
- `stdin_tty` Tells if `stdin` is a `tty` or not.
|
||||
- `stdout_tty` Tells if `stdout` is a `tty` or not.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user