diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-19 11:49:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-19 11:49:59 +0200 |
commit | 2de5cddeb197502c8b3ecf5e7eb1ac929cc2307f (patch) | |
tree | 7b7baf5a45d1c3b44399125005e535412956b211 /runtime/lua/vim/_meta/api.lua | |
parent | 6405fa4b117263b92f87b17150abd2d1c6ab5881 (diff) | |
parent | fd08fd3de3020647c8ae73f1c7d2cf9a4926c828 (diff) | |
download | rneovim-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/_meta/api.lua')
-rw-r--r-- | runtime/lua/vim/_meta/api.lua | 2 |
1 files changed, 2 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 |