mirror of
https://github.com/neovim/neovim.git
synced 2025-11-12 05:18:52 +00:00
Closes https://github.com/neovim/neovim/issues/16985
* get_lines checks if buf_loaded using bufnr 0, which is
typically used as a sentinel value, but here must be resolved
to the true bufnr
(cherry picked from commit 5ebb1951bc)
Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com>