aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-06-03 08:29:45 +0200
committerGitHub <noreply@github.com>2018-06-03 08:29:45 +0200
commit402a797d08a5d943d28be1b795bb4d80f17887c7 (patch)
tree47c2dc6e202a690274e43eda8bf4f01e7c0d4dd1 /src/nvim/api/vim.c
parent39a03c0fe736629cf7804dbaf9b73df60aa237cd (diff)
parentb8331e1a1cc99129495e655bce171f583661edda (diff)
downloadrneovim-402a797d08a5d943d28be1b795bb4d80f17887c7.tar.gz
rneovim-402a797d08a5d943d28be1b795bb4d80f17887c7.tar.bz2
rneovim-402a797d08a5d943d28be1b795bb4d80f17887c7.zip
Merge #8456 'API: nvim_list_uis: include channel id'
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index f587948cf0..b73ecc2d03 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1747,6 +1747,14 @@ Dictionary nvim__stats(void)
/// Gets a list of dictionaries representing attached UIs.
///
/// @return Array of UI dictionaries
+///
+/// Each dictionary has the following 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)
+///
Array nvim_list_uis(void)
FUNC_API_SINCE(4)
{