mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
vim-patch:8.2.4707: redrawing could be a bit more efficient (#18022)
Problem: Redrawing could be a bit more efficient.
Solution: Optimize redrawing. (closes vim/vim#10105)
8c97960850
This commit is contained in:
@@ -1345,6 +1345,28 @@ describe('CursorColumn highlight', function()
|
||||
{2:~ }|
|
||||
{3:-- INSERT --} |
|
||||
]])
|
||||
feed('<C-O>')
|
||||
screen:expect([[
|
||||
1234567{1:8}9 |
|
||||
a ^ b |
|
||||
{2:~ }|
|
||||
{2:~ }|
|
||||
{2:~ }|
|
||||
{2:~ }|
|
||||
{2:~ }|
|
||||
{3:-- (insert) --} |
|
||||
]])
|
||||
feed('i')
|
||||
screen:expect([[
|
||||
1{1:2}3456789 |
|
||||
a^ b |
|
||||
{2:~ }|
|
||||
{2:~ }|
|
||||
{2:~ }|
|
||||
{2:~ }|
|
||||
{2:~ }|
|
||||
{3:-- INSERT --} |
|
||||
]])
|
||||
end)
|
||||
|
||||
it('is updated if cursor is moved from timer', function()
|
||||
|
||||
Reference in New Issue
Block a user