diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-03-26 22:55:46 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-03-26 22:56:09 +0100 |
commit | 127e13f53ee0b83b60a9ce66e4eb09c384704c07 (patch) | |
tree | 01ab1413751e26673b913d265dc0664274f3ddb7 | |
parent | be676eccf1b85719441c66b0ced4f2234335f0ff (diff) | |
download | rneovim-127e13f53ee0b83b60a9ce66e4eb09c384704c07.tar.gz rneovim-127e13f53ee0b83b60a9ce66e4eb09c384704c07.tar.bz2 rneovim-127e13f53ee0b83b60a9ce66e4eb09c384704c07.zip |
doc, lint
-rw-r--r-- | runtime/doc/api.txt | 4 | ||||
-rw-r--r-- | runtime/doc/map.txt | 6 | ||||
-rw-r--r-- | src/nvim/api/vim.c | 13 |
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) { |