mirror of
https://github.com/neovim/neovim.git
synced 2026-05-04 21:15:09 +00:00
@@ -24,6 +24,7 @@ describe('ui receives option updates', function()
|
||||
guifont='',
|
||||
guifontset='',
|
||||
guifontwide='',
|
||||
linespace=0,
|
||||
showtabline=1,
|
||||
termguicolors=false,
|
||||
}
|
||||
@@ -58,6 +59,18 @@ describe('ui receives option updates', function()
|
||||
eq(changed, screen.options)
|
||||
end)
|
||||
|
||||
command("set linespace=13")
|
||||
changed.linespace = 13
|
||||
screen:expect(function()
|
||||
eq(changed, screen.options)
|
||||
end)
|
||||
|
||||
command("set linespace=-11")
|
||||
changed.linespace = -11
|
||||
screen:expect(function()
|
||||
eq(changed, screen.options)
|
||||
end)
|
||||
|
||||
command("set all&")
|
||||
screen:expect(function()
|
||||
eq(defaults, screen.options)
|
||||
|
||||
Reference in New Issue
Block a user