aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2023-09-27 17:23:42 +0800
committerglepnir <glephunter@gmail.com>2023-09-30 18:30:23 +0800
commit4200a0f1678c06c6da4e4cfb0184c29c1174ed21 (patch)
tree0a76101997ab9b1a13b699abdc65e3f39c8df43c /runtime/lua
parentdfa8b582a64aa22d3c57261bfcdc970b26cb58f3 (diff)
downloadrneovim-4200a0f1678c06c6da4e4cfb0184c29c1174ed21.tar.gz
rneovim-4200a0f1678c06c6da4e4cfb0184c29c1174ed21.tar.bz2
rneovim-4200a0f1678c06c6da4e4cfb0184c29c1174ed21.zip
feat(float): support toggle show float window
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/_meta/api.lua1
-rw-r--r--runtime/lua/vim/_meta/api_keysets.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua
index 68ef54eb2f..0575c13443 100644
--- a/runtime/lua/vim/_meta/api.lua
+++ b/runtime/lua/vim/_meta/api.lua
@@ -1617,6 +1617,7 @@ function vim.api.nvim_open_term(buffer, opts) end
--- 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.
+--- • hide: If true the floating window will be hidden.
--- @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 eaaa32d7b3..698e706171 100644
--- a/runtime/lua/vim/_meta/api_keysets.lua
+++ b/runtime/lua/vim/_meta/api_keysets.lua
@@ -113,6 +113,7 @@ error('Cannot require a meta file')
--- @field style? string
--- @field noautocmd? boolean
--- @field fixed? boolean
+--- @field hide? boolean
--- @class vim.api.keyset.get_autocmds
--- @field event? any