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: Array of UI dictionaries, each with these keys:
- "height" requested height of the UI - "height" requested height of the UI
- "width" requested width of the UI - "width" requested width of the UI
- "rgb" whether the UI uses rgb colors (false implies - "rgb" true if the UI uses RGB colors (false implies
cterm colors) |cterm-colors|)
- "ext_..." Requested UI extensions, see |ui-options| - "ext_..." Requested UI extensions, see |ui-options|
- "chan" Channel id of remote UI (not present for TUI) - "chan" Channel id of remote UI (not present for TUI)

View File

@ -293,10 +293,8 @@ async event event was processed.
Note: Note:
- Because <Cmd> avoids mode-changes (unlike ":") it does not trigger - Because <Cmd> avoids mode-changes (unlike ":") it does not trigger
|CmdlineEnter| and |CmdlineLeave| events. This helps performance. |CmdlineEnter| and |CmdlineLeave| events. This helps performance.
- For the same reason, |keycodes| like <C-R><C-W> are interpreted in the - For the same reason, |keycodes| like <C-R><C-W> are interpreted as plain,
context of the current mode, not cmdline-mode! Thus <C-R><C-W> in a unmapped keys.
: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.
- In select-mode, |:map| and |:vmap| command mappings are executed in - In select-mode, |:map| and |:vmap| command mappings are executed in
visual-mode. Use |:smap| to handle select-mode. visual-mode. Use |:smap| to handle select-mode.

View File

@ -2029,13 +2029,12 @@ Dictionary nvim__stats(void)
/// Gets a list of dictionaries representing attached UIs. /// Gets a list of dictionaries representing attached UIs.
/// ///
/// @return /// @return Array of UI dictionaries, each with these keys:
/// Array of UI dictionaries, each with these keys: /// - "height" requested height of the UI
/// - "height" requested height of the UI /// - "width" requested width of the UI
/// - "width" requested width of the UI /// - "rgb" true if the UI uses RGB colors (false implies |cterm-colors|)
/// - "rgb" whether the UI uses rgb colors (false implies cterm colors) /// - "ext_..." Requested UI extensions, see |ui-options|
/// - "ext_..." Requested UI extensions, see |ui-options| /// - "chan" Channel id of remote UI (not present for TUI)
/// - "chan" Channel id of remote UI (not present for TUI)
Array nvim_list_uis(void) Array nvim_list_uis(void)
FUNC_API_SINCE(4) FUNC_API_SINCE(4)
{ {