get_buffer

Function get_buffer 

Source
pub fn get_buffer(window: &Window) -> Option<Buffer>
Expand description

Retrieves the buffer associated with the specified window.

On failure, notifies Neovim of the error and returns None.

ยงErrors

  • Retrieving the buffer fails.