doc, lint

This commit is contained in:
Justin M. Keyes 2019-03-26 22:55:46 +01:00
parent be676eccf1
commit 127e13f53e
3 changed files with 10 additions and 13 deletions

View File

@ -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)

View File

@ -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.

View File

@ -2029,11 +2029,10 @@ Dictionary nvim__stats(void)
/// Gets a list of dictionaries representing attached UIs.
///
/// @return
/// Array of UI dictionaries, each with these keys:
/// @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)
/// - "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)