mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00

vim.bo can target a specific buffer by indexing with a number, e.g: `vim.bo[2].filetype` can get/set the filetype for buffer 2. This change replicates that behaviour for the variable namespace.