mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 08:32:42 +00:00
vim-patch:8.1.0822: peeking and flushing output slows down execution (#25629)
Problem: Peeking and flushing output slows down execution.
Solution: Do not update the mode message when global_busy is set. Do not
flush when only peeking for a character. (Ken Takata)
cb574f4154
This commit is contained in:
@@ -9284,9 +9284,11 @@ describe('float window', function()
|
||||
end
|
||||
|
||||
-- Also test with global NormalNC highlight
|
||||
meths.set_option_value('winhighlight', '', {win = win})
|
||||
command('hi link NormalNC Visual')
|
||||
screen:expect_unchanged(true)
|
||||
exec_lua([[
|
||||
vim.api.nvim_set_option_value('winhighlight', '', {win = ...})
|
||||
vim.api.nvim_set_hl(0, 'NormalNC', {link = 'Visual'})
|
||||
]], win)
|
||||
screen:expect_unchanged()
|
||||
command('hi clear NormalNC')
|
||||
|
||||
command('hi SpecialRegion guifg=Red blend=0')
|
||||
|
||||
Reference in New Issue
Block a user