aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-05-31 10:58:31 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2018-06-01 10:20:13 +0200
commit5be3865ce73e692056034e320d5fd525b9db22c2 (patch)
treec4c90b481953d4fcb9a6fd317edd470f48978576 /src/nvim/api/vim.c
parent3585df3f0b1ad748c2fbab1d101500e7177aad36 (diff)
downloadrneovim-5be3865ce73e692056034e320d5fd525b9db22c2.tar.gz
rneovim-5be3865ce73e692056034e320d5fd525b9db22c2.tar.bz2
rneovim-5be3865ce73e692056034e320d5fd525b9db22c2.zip
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)
{