Skip to content

Commit

Permalink
api: fix list_bufs's docs
Browse files Browse the repository at this point in the history
  • Loading branch information
noib3 committed Dec 21, 2024
1 parent 5b603ed commit a30581c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/api/src/vim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -605,13 +605,12 @@ pub fn input_mouse(

/// Binding to [`nvim_list_bufs()`][1].
///
/// Gets the current list of [`Buffer`]s, including unlisted [1]
/// Gets the current list of [`Buffer`]s, including [unlisted][2]
/// buffers (like `:ls!`). Use [`Buffer::is_loaded`] to check if a
/// buffer is loaded.
///
/// [1]: https://neovim.io/doc/user/api.html#nvim_list_bufs()
///
/// [1]: unloaded/deleted
/// [2]: unloaded/deleted
pub fn list_bufs() -> impl SuperIterator<Buffer> {
let bufs = unsafe {
nvim_list_bufs(
Expand Down

0 comments on commit a30581c

Please sign in to comment.