diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-23 05:51:55 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-25 20:01:59 +0800 |
commit | 56ed5a040303ecb30aa50c8bde545e5e47862271 (patch) | |
tree | f88d2977958592acc267b2fc034b24c322b1522c /test/functional/ui/diff_spec.lua | |
parent | 6e9a7e7db81b899553548b82b42bf5c162109e19 (diff) | |
download | rneovim-56ed5a040303ecb30aa50c8bde545e5e47862271.tar.gz rneovim-56ed5a040303ecb30aa50c8bde545e5e47862271.tar.bz2 rneovim-56ed5a040303ecb30aa50c8bde545e5e47862271.zip |
vim-patch:8.2.4866: duplicate code in "get" functions
Problem: Duplicate code in "get" functions.
Solution: Use get_var_from() for getwinvar(), gettabvar(), gettabwinvar()
and getbufvar(). (closes vim/vim#10335)
https://github.com/vim/vim/commit/47d4e317f85e4aeb3799d962f173bd0f1e7bc71c
f_setbufvar() can use tv_get_buf_from_arg() as it sets emsg_off.
Diffstat (limited to 'test/functional/ui/diff_spec.lua')
0 files changed, 0 insertions, 0 deletions