mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
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:
committed by
Famiu Haque
parent
e3e6fadfd8
commit
1fe1bb084d
@ -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)
|
||||
|
Reference in New Issue
Block a user