mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
mouse.c: can click on multibyte foldopen/foldclose (#11863)
would previously only work with ascii fillchars. Added a test.
This commit is contained in:
@@ -96,8 +96,20 @@ describe("folded lines", function()
|
||||
{1: ~}|
|
||||
:set rightleft |
|
||||
]]}
|
||||
end)
|
||||
|
||||
feed_command("set norightleft")
|
||||
meths.input_mouse('left', 'press', '', 0, 0, 1)
|
||||
screen:expect{grid=[[
|
||||
{7:▾▸}{5:^+--- 5 lines: aa··························}|
|
||||
{7:│ }ff |
|
||||
{1:~ }|
|
||||
{1:~ }|
|
||||
{1:~ }|
|
||||
{1:~ }|
|
||||
{1:~ }|
|
||||
:set norightleft |
|
||||
]]}
|
||||
end)
|
||||
|
||||
it("works with multibyte text", function()
|
||||
-- Currently the only allowed value of 'maxcombine'
|
||||
|
||||
Reference in New Issue
Block a user