aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorSean Dewar <6256228+seandewar@users.noreply.github.com>2026-02-23 15:10:20 +0000
committerGitHub <noreply@github.com>2026-02-23 10:10:20 -0500
commit2478a7fbbdcf2fe971e5a606b0a6b0ba45dee0f7 (patch)
tree355f1dd42896255dd6f0f0d74aa3ec77febe1e5e /runtime/lua/vim/_meta/api.lua
parent374e869504edf4f3f15c06219a78a35365d9c8ae (diff)
downloadrneovim-2478a7fbbdcf2fe971e5a606b0a6b0ba45dee0f7.tar.gz
rneovim-2478a7fbbdcf2fe971e5a606b0a6b0ba45dee0f7.tar.bz2
rneovim-2478a7fbbdcf2fe971e5a606b0a6b0ba45dee0f7.zip
docs(api): nvim_open_win "split" with negative "win" #38032
Acts like :topleft/botright.
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
-rw-r--r--runtime/lua/vim/_meta/api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua
index 47a7fa3ffd..6bc5328fd0 100644
--- a/runtime/lua/vim/_meta/api.lua
+++ b/runtime/lua/vim/_meta/api.lua
@@ -1847,8 +1847,8 @@ function vim.api.nvim_open_term(buffer, opts) end
--- Default is `"left"`.
--- - vertical: Split vertically `:vertical`.
--- - width: Window width (in character cells). Minimum of 1.
---- - win: `window-ID` window to split, or relative window when creating a
---- float (relative="win").
+--- - win: `window-ID` window to split, or relative window when creating a float (relative="win").
+--- When splitting, negative value works like `:topleft`, `:botright`.
--- - zindex: Stacking order. floats with higher `zindex` go on top on
--- floats with lower indices. Must be larger than zero. The
--- following screen elements have hard-coded z-indices: