mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
Make the bufnr argument have similar semantics across API functions; namely, a nil value means "all buffers" while 0 means "current buffer". This increases the flexibility of the API by allowing functions such as enable() and disable() to apply globally or per-namespace, rather than only on a specific buffer.