From eb4aab7173fa1733f77bb6d7117351b47ada6134 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 21 Jan 2018 07:31:57 +0100 Subject: ui: forward 'linespace' option #7883 ref #7520 --- test/functional/ui/options_spec.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/functional/ui') diff --git a/test/functional/ui/options_spec.lua b/test/functional/ui/options_spec.lua index 14f40b3ec1..bc72ca71aa 100644 --- a/test/functional/ui/options_spec.lua +++ b/test/functional/ui/options_spec.lua @@ -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) -- cgit