aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-04-14 13:35:11 +0200
committerGitHub <noreply@github.com>2019-04-14 13:35:11 +0200
commit0be8fb47a46ee472af41dd96c5884e8e69b94639 (patch)
tree00a797d93f99fabad6a08e71eb482a9eb78e3ab2 /src/nvim/api/vim.c
parent9ddf99172cc9e8ea3ac47516083751fca75c3501 (diff)
parentc8acbe3b623a4d7636e88b30f779c03845cf548f (diff)
downloadrneovim-0be8fb47a46ee472af41dd96c5884e8e69b94639.tar.gz
rneovim-0be8fb47a46ee472af41dd96c5884e8e69b94639.tar.bz2
rneovim-0be8fb47a46ee472af41dd96c5884e8e69b94639.zip
Merge pull request #9898 from bfredl/floatwidth
windows: float config changes
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 7affb7c06c..f54ac5072c 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1003,7 +1003,8 @@ Buffer nvim_create_buf(Boolean listed, Boolean scratch, Error *err)
///
/// For a general overview of floats, see |api-floatwin|.
///
-/// Exactly one of `external` and `relative` must be specified.
+/// Exactly one of `external` and `relative` must be specified. The `width` and
+/// `height` of the new window must be specified.
///
/// With editor positioning row=0, col=0 refers to the top-left corner of the
/// screen-grid and row=Lines-1, Columns-1 refers to the bottom-right corner.
@@ -1035,7 +1036,7 @@ Buffer nvim_create_buf(Boolean listed, Boolean scratch, Error *err)
/// - "SW" south-west
/// - "SE" south-east
/// - `height`: window height (in character cells). Minimum of 1.
-/// - `width`: window width (in character cells). Minimum of 2.
+/// - `width`: window width (in character cells). Minimum of 1.
/// - `row`: row position. Screen cell height are used as unit. Can be
/// floating point.
/// - `col`: column position. Screen cell width is used as unit. Can be