aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorWill Hopkins <willothyh@gmail.com>2024-02-09 08:17:10 -0800
committerGitHub <noreply@github.com>2024-02-09 08:17:10 -0800
commit44ec4b5b18d1ba856dc3305d8dfb0e8d9507dd50 (patch)
tree6670a90563bad3658b00c276ab150fa110069256 /runtime/lua/vim/_meta/api.lua
parent4788abf2da6bb5c37e880d74a73a4a7de736b6ac (diff)
downloadrneovim-44ec4b5b18d1ba856dc3305d8dfb0e8d9507dd50.tar.gz
rneovim-44ec4b5b18d1ba856dc3305d8dfb0e8d9507dd50.tar.bz2
rneovim-44ec4b5b18d1ba856dc3305d8dfb0e8d9507dd50.zip
refactor: rename FloatConfig to WinConfig #27397
`FloatConfig` is no longer used only for floats, so the name is counterintuitive. Followup to #25550
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 8b29727196..f46ab8023f 100644
--- a/runtime/lua/vim/_meta/api.lua
+++ b/runtime/lua/vim/_meta/api.lua
@@ -1535,7 +1535,7 @@ function vim.api.nvim_open_term(buffer, opts) end
---
--- @param buffer integer Buffer to display, or 0 for current buffer
--- @param enter boolean Enter the window (make it the current window)
---- @param config vim.api.keyset.float_config Map defining the window configuration. Keys:
+--- @param config vim.api.keyset.win_config Map defining the window configuration. Keys:
--- • relative: Sets the window layout to "floating", placed at
--- (row,col) coordinates relative to:
--- • "editor" The global editor grid
@@ -2093,7 +2093,7 @@ function vim.api.nvim_win_set_buf(window, buffer) end
--- changed. `row`/`col` and `relative` must be reconfigured together.
---
--- @param window integer Window handle, or 0 for current window
---- @param config vim.api.keyset.float_config Map defining the window configuration, see `nvim_open_win()`
+--- @param config vim.api.keyset.win_config Map defining the window configuration, see `nvim_open_win()`
function vim.api.nvim_win_set_config(window, config) end
--- Sets the (1,0)-indexed cursor position in the window. `api-indexing` This