mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
feat(ui-ext): make 'mousemoveevent' a ui_option
This commit is contained in:
@@ -19,6 +19,7 @@ describe('UI receives option updates', function()
|
||||
linespace=0,
|
||||
pumblend=0,
|
||||
mousefocus=false,
|
||||
mousemoveevent=false,
|
||||
showtabline=1,
|
||||
termguicolors=false,
|
||||
ttimeout=true,
|
||||
@@ -131,6 +132,12 @@ describe('UI receives option updates', function()
|
||||
eq(expected, screen.options)
|
||||
end)
|
||||
|
||||
command("set mousemoveevent")
|
||||
expected.mousemoveevent = true
|
||||
screen:expect(function()
|
||||
eq(expected, screen.options)
|
||||
end)
|
||||
|
||||
command("set nottimeout")
|
||||
expected.ttimeout = false
|
||||
screen:expect(function()
|
||||
|
||||
Reference in New Issue
Block a user