aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-19 11:49:59 +0200
committerGitHub <noreply@github.com>2023-09-19 11:49:59 +0200
commit2de5cddeb197502c8b3ecf5e7eb1ac929cc2307f (patch)
tree7b7baf5a45d1c3b44399125005e535412956b211 /runtime/lua/vim
parent6405fa4b117263b92f87b17150abd2d1c6ab5881 (diff)
parentfd08fd3de3020647c8ae73f1c7d2cf9a4926c828 (diff)
downloadrneovim-2de5cddeb197502c8b3ecf5e7eb1ac929cc2307f.tar.gz
rneovim-2de5cddeb197502c8b3ecf5e7eb1ac929cc2307f.tar.bz2
rneovim-2de5cddeb197502c8b3ecf5e7eb1ac929cc2307f.zip
Merge pull request #25148 from glepnir/fixed_opt
fix(float): add fixed option
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_meta/api.lua2
-rw-r--r--runtime/lua/vim/_meta/api_keysets.lua1
2 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua
index 6573c68493..e74a33d921 100644
--- a/runtime/lua/vim/_meta/api.lua
+++ b/runtime/lua/vim/_meta/api.lua
@@ -1608,6 +1608,8 @@ function vim.api.nvim_open_term(buffer, opts) end
--- • noautocmd: If true then no buffer-related autocommand
--- events such as `BufEnter`, `BufLeave` or `BufWinEnter` may
--- fire from calling this function.
+--- • fixed: If true when anchor is NW or SW, the float window
+--- would be kept fixed even if the window would be truncated.
--- @return integer
function vim.api.nvim_open_win(buffer, enter, config) end
diff --git a/runtime/lua/vim/_meta/api_keysets.lua b/runtime/lua/vim/_meta/api_keysets.lua
index 4d08563ce2..b249f6629f 100644
--- a/runtime/lua/vim/_meta/api_keysets.lua
+++ b/runtime/lua/vim/_meta/api_keysets.lua
@@ -112,6 +112,7 @@ error('Cannot require a meta file')
--- @field footer_pos? string
--- @field style? string
--- @field noautocmd? boolean
+--- @field fixed? boolean
--- @class vim.api.keyset.get_autocmds
--- @field event? any