diff options
author | Lewis Russell <lewis6991@gmail.com> | 2021-09-23 15:00:25 +0100 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2021-10-19 19:47:33 +0100 |
commit | 6c5e7bde9a1b207345787a60f6c37a325be26c64 (patch) | |
tree | 7164aeb001b69ab4d51853e32b16986ab70bc883 /test/functional/lua/json_spec.lua | |
parent | 064411ea7ff825aed3d4e01207914ed61d7ee79d (diff) | |
download | rneovim-6c5e7bde9a1b207345787a60f6c37a325be26c64.tar.gz rneovim-6c5e7bde9a1b207345787a60f6c37a325be26c64.tar.bz2 rneovim-6c5e7bde9a1b207345787a60f6c37a325be26c64.zip |
feat(lua): allow passing handles to vim.b/w/t
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.
Diffstat (limited to 'test/functional/lua/json_spec.lua')
0 files changed, 0 insertions, 0 deletions