diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-09-22 11:09:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 11:09:33 +0200 |
commit | 7fc5f6605fb3de361c970a1d22a42a905a072a0c (patch) | |
tree | ffe2148ab3193f2c122ed43e9655e3179b17c1e5 /test/functional/ui/syntax_conceal_spec.lua | |
parent | 8d13b08a03c31cdb269b7d09c166e0b447f2a303 (diff) | |
parent | 02f8ca59a80cd3570593c717ff6ceadc33239b89 (diff) | |
download | rneovim-7fc5f6605fb3de361c970a1d22a42a905a072a0c.tar.gz rneovim-7fc5f6605fb3de361c970a1d22a42a905a072a0c.tar.bz2 rneovim-7fc5f6605fb3de361c970a1d22a42a905a072a0c.zip |
Merge pull request #20249 from bfredl/cmdmessage
fix(redraw): avoid unnecessary redraws and glitches with floats+messages
Diffstat (limited to 'test/functional/ui/syntax_conceal_spec.lua')
-rw-r--r-- | test/functional/ui/syntax_conceal_spec.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/ui/syntax_conceal_spec.lua b/test/functional/ui/syntax_conceal_spec.lua index f790597140..e8798ddd93 100644 --- a/test/functional/ui/syntax_conceal_spec.lua +++ b/test/functional/ui/syntax_conceal_spec.lua @@ -947,7 +947,7 @@ describe('Screen', function() {0:~ }| | ]]} - eq({{2, 0, {{'c', 0, 3}}}}, grid_lines) + eq({{2, 0, {{'c', 0, 3}, {' ', 0, 50}}}, {3, 0, {{' ', 0, 53}}}}, grid_lines) end) it('K_EVENT should not cause extra redraws with concealcursor #13196', function() @@ -994,10 +994,11 @@ describe('Screen', function() {0:~ }| | ]]} - eq({{2, 0, {{'c', 0, 3}}}}, grid_lines) + eq({{2, 0, {{'c', 0, 3}, {' ', 0, 50}}}}, grid_lines) + grid_lines = {} poke_eventloop() -- causes K_EVENT key screen:expect_unchanged() - eq({{2, 0, {{'c', 0, 3}}}}, grid_lines) + eq({}, grid_lines) -- no redraw was done end) -- Copy of Test_cursor_column_in_concealed_line_after_window_scroll in |