refactor(options): deprecate nvim[_buf|_win]_[gs]et_option

Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: famiu <famiuhaque@protonmail.com>
This commit is contained in:
Lewis Russell
2022-12-19 16:37:45 +00:00
committed by Famiu Haque
parent e3e6fadfd8
commit 1fe1bb084d
87 changed files with 725 additions and 785 deletions

View File

@ -3555,7 +3555,7 @@ describe('ext_multigrid', function()
end)
it('with winbar dragging statusline with mouse works correctly', function()
meths.set_option('winbar', 'Set Up The Bars')
meths.set_option_value('winbar', 'Set Up The Bars', {})
command('split')
screen:expect([[
## grid 1
@ -3695,7 +3695,7 @@ describe('ext_multigrid', function()
{1:~ }|
{1:~ }|
]])
eq(3, meths.get_option('cmdheight'))
eq(3, meths.get_option_value('cmdheight', {}))
meths.input_mouse('left', 'drag', '', 1, 12, 10)
screen:expect([[
@ -3730,6 +3730,6 @@ describe('ext_multigrid', function()
{1:~ }|
{1:~ }|
]])
eq(1, meths.get_option('cmdheight'))
eq(1, meths.get_option_value('cmdheight', {}))
end)
end)