fix(pum): position properly with ext_multigrid

(cherry picked from commit 239d19d908)
This commit is contained in:
zeertzjq
2023-04-25 14:59:34 +08:00
committed by github-actions[bot]
parent 7a9624f035
commit f5cf033314
3 changed files with 3396 additions and 2612 deletions

View File

@@ -1849,5 +1849,17 @@ describe('ui/mouse/input', function()
feed('<Down><CR>')
eq(2, funcs.winnr())
eq('', funcs.getreg('"'))
-- Test for right click in visual mode inside the selection with vertical splits
command('wincmd t')
command('rightbelow vsplit')
funcs.setreg('"', '')
meths.win_set_cursor(0, {1, 9})
feed('vee')
meths.input_mouse('right', 'press', '', 0, 0, 52)
meths.input_mouse('right', 'release', '', 0, 0, 52)
feed('<Down><CR>')
eq({1, 9}, meths.win_get_cursor(0))
eq('ran away', funcs.getreg('"'))
end)
end)

File diff suppressed because it is too large Load Diff