mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
Problem: undotree() only works for the current buffer
Solution: Add an optional "buffer number" parameter to undotree(). If
omitted, use the current buffer for backwards compatibility.
closes: vim/vim#4001
closes: vim/vim#12292
5fee111149
Co-authored-by: Devin J. Pohly <djpohly@gmail.com>