mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 07:11:20 +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.