diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2019-03-15 18:18:56 +0100 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2019-03-16 12:35:59 +0100 |
commit | 27c4b6b9bd90fbc3a41945f87ec944bd0ced8228 (patch) | |
tree | d0ee420e180957fb4e8646783e74022c16c4b95e /src/nvim/api/window.c | |
parent | 96edbe7b1d6144f3cf9b720d61182ee31858b478 (diff) | |
download | rneovim-27c4b6b9bd90fbc3a41945f87ec944bd0ced8228.tar.gz rneovim-27c4b6b9bd90fbc3a41945f87ec944bd0ced8228.tar.bz2 rneovim-27c4b6b9bd90fbc3a41945f87ec944bd0ced8228.zip |
api: update doc
Diffstat (limited to 'src/nvim/api/window.c')
-rw-r--r-- | src/nvim/api/window.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nvim/api/window.c b/src/nvim/api/window.c index ba505af87e..dd63dbbb4a 100644 --- a/src/nvim/api/window.c +++ b/src/nvim/api/window.c @@ -439,11 +439,15 @@ Boolean nvim_win_is_valid(Window window) /// types). /// /// See documentation at |nvim_open_win()|, for the meaning of parameters. Pass -/// in 0 for 'witdh' and 'height' to keep exiting size. +/// in 0 for `width` and `height` to keep existing size. /// /// When reconfiguring a floating window, absent option keys will not be /// changed. The following restriction apply: `row`, `col` and `relative` /// must be reconfigured together. Only changing a subset of these is an error. +/// +/// @param window Window handle +/// @param options Dictionary of options +/// @param[out] err Error details, if any void nvim_win_set_config(Window window, Dictionary options, Error *err) FUNC_API_SINCE(6) { @@ -476,6 +480,8 @@ void nvim_win_set_config(Window window, Dictionary options, Error *err) /// Return a dictionary containing the same options that can be given to /// |nvim_open_win()|. /// +/// `relative` will be empty for normal windows. +/// /// @param window Window handle /// @param[out] err Error details, if any /// @return Window configuration |