diff options
author | marvim <marvim@users.noreply.github.com> | 2021-06-10 08:03:28 +0000 |
---|---|---|
committer | marvim <marvim@users.noreply.github.com> | 2021-06-10 08:03:28 +0000 |
commit | 04f9511715a1ae00189ec8a519595cc14c64d1f2 (patch) | |
tree | f115952ff6c254dad3c13f23f6ee26056ed5fc05 | |
parent | 70a1331dabdccda47d398c889b453088ffd8bfa5 (diff) | |
download | rneovim-04f9511715a1ae00189ec8a519595cc14c64d1f2.tar.gz rneovim-04f9511715a1ae00189ec8a519595cc14c64d1f2.tar.bz2 rneovim-04f9511715a1ae00189ec8a519595cc14c64d1f2.zip |
docs: regenerate
-rw-r--r-- | runtime/doc/api.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index bdabc6a9ee..6b3b0f7762 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -2464,6 +2464,22 @@ nvim_buf_set_virtual_text({buffer}, {src_id}, {line}, {chunks}, {opts}) ============================================================================== Window Functions *api-window* +nvim_win_call({window}, {fun}) *nvim_win_call()* + Calls a function with window as temporary current window. + + Parameters: ~ + {window} Window handle, or 0 for current window + {fun} Function to call inside the window (currently + lua callable only) + + Return: ~ + Return value of function. NB: will deepcopy lua values + currently, use upvalues to send lua references in and out. + + See also: ~ + |win_execute()| + |nvim_buf_call()| + nvim_win_close({window}, {force}) *nvim_win_close()* Closes the window (like |:close| with a |window-ID|). |