aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/api.txt4
-rw-r--r--runtime/doc/map.txt6
-rw-r--r--src/nvim/api/vim.c13
3 files changed, 10 insertions, 13 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 52994ce073..e52ed5ad2b 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1094,8 +1094,8 @@ nvim_list_uis() *nvim_list_uis()*
Array of UI dictionaries, each with these keys:
- "height" requested height of the UI
- "width" requested width of the UI
- - "rgb" whether the UI uses rgb colors (false implies
- cterm colors)
+ - "rgb" true if the UI uses RGB colors (false implies
+ |cterm-colors|)
- "ext_..." Requested UI extensions, see |ui-options|
- "chan" Channel id of remote UI (not present for TUI)
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 34d6a15450..eac42df791 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -293,10 +293,8 @@ async event event was processed.
Note:
- Because <Cmd> avoids mode-changes (unlike ":") it does not trigger
|CmdlineEnter| and |CmdlineLeave| events. This helps performance.
-- For the same reason, |keycodes| like <C-R><C-W> are interpreted in the
- context of the current mode, not cmdline-mode! Thus <C-R><C-W> in a
- :nnoremap (normal-mode) mapping does the normal-mode function of <C-R> and
- <C-W> rather than the cmdline-mode <C-R><C-W> chord.
+- For the same reason, |keycodes| like <C-R><C-W> are interpreted as plain,
+ unmapped keys.
- In select-mode, |:map| and |:vmap| command mappings are executed in
visual-mode. Use |:smap| to handle select-mode.
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index de323c7658..f56d37af90 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -2029,13 +2029,12 @@ Dictionary nvim__stats(void)
/// Gets a list of dictionaries representing attached UIs.
///
-/// @return
-/// Array of UI dictionaries, each with these keys:
-/// - "height" requested height of the UI
-/// - "width" requested width of the UI
-/// - "rgb" whether the UI uses rgb colors (false implies cterm colors)
-/// - "ext_..." Requested UI extensions, see |ui-options|
-/// - "chan" Channel id of remote UI (not present for TUI)
+/// @return Array of UI dictionaries, each with these keys:
+/// - "height" requested height of the UI
+/// - "width" requested width of the UI
+/// - "rgb" true if the UI uses RGB colors (false implies |cterm-colors|)
+/// - "ext_..." Requested UI extensions, see |ui-options|
+/// - "chan" Channel id of remote UI (not present for TUI)
Array nvim_list_uis(void)
FUNC_API_SINCE(4)
{