diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-30 13:40:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-30 13:40:35 +0200 |
commit | 578d63417609de9677bc4bf5be3b265766ef2083 (patch) | |
tree | b26ffc04ae41aae5c796fb75fe650e7a7d5b5716 /runtime/lua/vim | |
parent | 960170e4469b96c5c3d06ba1bb84c9edeaa04b8b (diff) | |
parent | 4200a0f1678c06c6da4e4cfb0184c29c1174ed21 (diff) | |
download | rneovim-578d63417609de9677bc4bf5be3b265766ef2083.tar.gz rneovim-578d63417609de9677bc4bf5be3b265766ef2083.tar.bz2 rneovim-578d63417609de9677bc4bf5be3b265766ef2083.zip |
Merge pull request #25386 from glepnir/toggle_float
feat(float): support toggle show float window
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/_meta/api.lua | 1 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/api_keysets.lua | 1 |
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 |