mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 02:21:51 +00:00
docs(api): clarify nvim_win_set_buf documentation #37201
This commit is contained in:
3
runtime/lua/vim/_meta/api.lua
generated
3
runtime/lua/vim/_meta/api.lua
generated
@@ -2484,8 +2484,9 @@ function vim.api.nvim_win_hide(window) end
|
||||
--- @return boolean # true if the window is valid, false otherwise
|
||||
function vim.api.nvim_win_is_valid(window) end
|
||||
|
||||
--- Sets the current buffer in a window, without side effects
|
||||
--- Sets the current buffer in a window.
|
||||
---
|
||||
--- Note: As a side-effect, this executes `BufEnter` and `BufLeave` autocommands.
|
||||
--- @param window integer `window-ID`, or 0 for current window
|
||||
--- @param buffer integer Buffer id
|
||||
function vim.api.nvim_win_set_buf(window, buffer) end
|
||||
|
||||
Reference in New Issue
Block a user