mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
test: typing for helpers.meths
This commit is contained in:
@@ -198,9 +198,9 @@ describe('cmdline', function()
|
||||
[3] = { reverse = true }, -- TabLineFill
|
||||
})
|
||||
screen:attach()
|
||||
meths.set_option_value('laststatus', 2, {})
|
||||
meths.set_option_value('showtabline', 2, {})
|
||||
meths.set_option_value('cmdheight', 1, {})
|
||||
meths.nvim_set_option_value('laststatus', 2, {})
|
||||
meths.nvim_set_option_value('showtabline', 2, {})
|
||||
meths.nvim_set_option_value('cmdheight', 1, {})
|
||||
screen:expect([[
|
||||
{2: [No Name] }{3: }|
|
||||
^ |
|
||||
@@ -217,10 +217,10 @@ describe('cmdline', function()
|
||||
[0] = { bold = true, foreground = Screen.colors.Blue }, -- NonText
|
||||
}
|
||||
screen:attach()
|
||||
meths.set_option_value('ruler', true, {})
|
||||
meths.set_option_value('rulerformat', 'longish', {})
|
||||
meths.set_option_value('laststatus', 0, {})
|
||||
meths.set_option_value('winwidth', 1, {})
|
||||
meths.nvim_set_option_value('ruler', true, {})
|
||||
meths.nvim_set_option_value('rulerformat', 'longish', {})
|
||||
meths.nvim_set_option_value('laststatus', 0, {})
|
||||
meths.nvim_set_option_value('winwidth', 1, {})
|
||||
feed [[<C-W>v<C-W>|<C-W>p]]
|
||||
screen:expect [[
|
||||
│^ |
|
||||
|
||||
Reference in New Issue
Block a user