Merge pull request #13322 from teto/remove_curwin

refactor: pass window to was_set_insecurely
This commit is contained in:
Thomas Vigouroux
2020-11-24 07:10:55 +01:00
committed by GitHub
10 changed files with 61 additions and 32 deletions

View File

@@ -117,6 +117,33 @@ describe("folded lines", function()
end
end)
it("work with spell", function()
command("set spell")
insert([[
This is a
valid English
sentence composed by
an exhausted developer
in his cave.
]])
feed("gg")
feed("zf3j")
if not multigrid then
-- screen:snapshot_util()
screen:expect{grid=[[
{5:^+-- 4 lines: This is a······················}|
in his cave. |
|
{1:~ }|
{1:~ }|
{1:~ }|
{1:~ }|
|
]]}
end
end)
it("works with multibyte fillchars", function()
insert([[
aa