aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/options_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2020-09-06 11:40:07 -0700
committerGitHub <noreply@github.com>2020-09-06 11:40:07 -0700
commitc1d395a6d664933ec7a644362721db115efef664 (patch)
treec3e68c81eac71a2a75a46f45422f0ddac70b38d6 /test/functional/ui/options_spec.lua
parentd6b280799fb873dfc40b8012d40d0bb54bc9d588 (diff)
downloadrneovim-c1d395a6d664933ec7a644362721db115efef664.tar.gz
rneovim-c1d395a6d664933ec7a644362721db115efef664.tar.bz2
rneovim-c1d395a6d664933ec7a644362721db115efef664.zip
UI: forward 'mousefocus' option #12863
close #12849 ref eb4aab7173fa1733f77bb6d7117351b47ada6134
Diffstat (limited to 'test/functional/ui/options_spec.lua')
-rw-r--r--test/functional/ui/options_spec.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/functional/ui/options_spec.lua b/test/functional/ui/options_spec.lua
index 1593f04f41..2f113f6ac6 100644
--- a/test/functional/ui/options_spec.lua
+++ b/test/functional/ui/options_spec.lua
@@ -17,6 +17,7 @@ describe('UI receives option updates', function()
guifontwide='',
linespace=0,
pumblend=0,
+ mousefocus=false,
showtabline=1,
termguicolors=false,
ttimeout=true,
@@ -109,6 +110,12 @@ describe('UI receives option updates', function()
eq(expected, screen.options)
end)
+ command("set mousefocus")
+ expected.mousefocus = true
+ screen:expect(function()
+ eq(expected, screen.options)
+ end)
+
command("set nottimeout")
expected.ttimeout = false
screen:expect(function()