diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-11-24 07:10:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 07:10:55 +0100 |
commit | dd876a15489beea14cd35417ca5147cb5316e9ce (patch) | |
tree | 091e9b1ddf9451609e513c7bdc2d20865a1e9086 /test/functional/ui/fold_spec.lua | |
parent | 2d36b62eda16ae1cf370f4107530fa65d2b1bce4 (diff) | |
parent | 7eb0c16dc8433e27ce0c8573a80284ec044d5ef4 (diff) | |
download | rneovim-dd876a15489beea14cd35417ca5147cb5316e9ce.tar.gz rneovim-dd876a15489beea14cd35417ca5147cb5316e9ce.tar.bz2 rneovim-dd876a15489beea14cd35417ca5147cb5316e9ce.zip |
Merge pull request #13322 from teto/remove_curwin
refactor: pass window to was_set_insecurely
Diffstat (limited to 'test/functional/ui/fold_spec.lua')
-rw-r--r-- | test/functional/ui/fold_spec.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/functional/ui/fold_spec.lua b/test/functional/ui/fold_spec.lua index 669ec5d3ed..018049d2f4 100644 --- a/test/functional/ui/fold_spec.lua +++ b/test/functional/ui/fold_spec.lua @@ -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 |