Mercurial > vim
diff src/testdir/test_conceal.vim @ 25818:37bc83bbda91 v8.2.3444
patch 8.2.3444: concealed text not revealed when leaving insert mode
Commit: https://github.com/vim/vim/commit/644b49fa0fb90143e8dbe90a7c14c9498d17b266
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 16 22:32:15 2021 +0200
patch 8.2.3444: concealed text not revealed when leaving insert mode
Problem: concealed text not revealed when leaving insert mode. (Michael
Soyka)
Solution: Check if concealing changed when leaving insert mode.
(closes #8880)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 16 Sep 2021 22:45:03 +0200 |
parents | 20133655107a |
children | d02a319c47ec |
line wrap: on
line diff
--- a/src/testdir/test_conceal.vim +++ b/src/testdir/test_conceal.vim @@ -59,9 +59,11 @@ func Test_conceal_two_windows() " Check that with cursor line is only concealed in Insert mode call term_sendkeys(buf, ":set concealcursor=i\r") call VerifyScreenDump(buf, 'Test_conceal_two_windows_07n', {}) - call term_sendkeys(buf, "a") + call term_sendkeys(buf, "14|a") call VerifyScreenDump(buf, 'Test_conceal_two_windows_07i', {}) - call term_sendkeys(buf, "\<Esc>/e") + call term_sendkeys(buf, "\<Esc>") + call VerifyScreenDump(buf, 'Test_conceal_two_windows_07in', {}) + call term_sendkeys(buf, "/e") call VerifyScreenDump(buf, 'Test_conceal_two_windows_07c', {}) call term_sendkeys(buf, "\<Esc>v") call VerifyScreenDump(buf, 'Test_conceal_two_windows_07v', {})