aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-02-23 18:29:36 +0100
committerJustin M. Keyes <justinkz@gmail.com>2023-02-27 19:50:59 +0100
commit7f424e2b65779c59fc0cac3cc7508ba2ec07f200 (patch)
tree60c2609c51ea9f5708c379972c38d7da32a6faa1 /runtime
parentf64098a2df774c79dd454f63ac491570cdcaf2b2 (diff)
downloadrneovim-7f424e2b65779c59fc0cac3cc7508ba2ec07f200.tar.gz
rneovim-7f424e2b65779c59fc0cac3cc7508ba2ec07f200.tar.bz2
rneovim-7f424e2b65779c59fc0cac3cc7508ba2ec07f200.zip
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.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/builtin.txt1
-rw-r--r--runtime/doc/news.txt2
-rw-r--r--runtime/doc/ui.txt5
3 files changed, 5 insertions, 3 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 3ff4e47a45..8cde2f8fb0 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -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.
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index c5261b739d..4c9cbf9189 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -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*
diff --git a/runtime/doc/ui.txt b/runtime/doc/ui.txt
index bb567e021e..e706e36374 100644
--- a/runtime/doc/ui.txt
+++ b/runtime/doc/ui.txt
@@ -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.