diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-05-02 07:49:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 07:49:07 -0700 |
commit | e5c69df679159cd56fe34d6fc66a898bed9a87d0 (patch) | |
tree | c2b20f0b3581f8e861134c177489ff294be911ea /test/functional/ui/inccommand_spec.lua | |
parent | 350d81856473b45100d6b0e5920b757df1b4ad27 (diff) | |
parent | 037ea6e786b5d05f4a8965e4c2ba6aa60ec7c01a (diff) | |
download | rneovim-e5c69df679159cd56fe34d6fc66a898bed9a87d0.tar.gz rneovim-e5c69df679159cd56fe34d6fc66a898bed9a87d0.tar.bz2 rneovim-e5c69df679159cd56fe34d6fc66a898bed9a87d0.zip |
Merge #28101 nvim__redraw
Diffstat (limited to 'test/functional/ui/inccommand_spec.lua')
-rw-r--r-- | test/functional/ui/inccommand_spec.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/ui/inccommand_spec.lua b/test/functional/ui/inccommand_spec.lua index 6bcfae2eee..c11e009fef 100644 --- a/test/functional/ui/inccommand_spec.lua +++ b/test/functional/ui/inccommand_spec.lua @@ -2594,6 +2594,12 @@ it(':substitute with inccommand, timer-induced :redraw #9777', function() {2:[Preview] }| :%s/foo/ZZZ^ | ]]) + + -- Also with nvim__redraw() + command('call timer_start(10, {-> nvim__redraw(#{flush:1})}, {"repeat":-1})') + command('call timer_start(10, {-> nvim__redraw(#{statusline:1})}, {"repeat":-1})') + sleep(20) -- Allow some timer activity. + screen:expect_unchanged() end) it(':substitute with inccommand, allows :redraw before first separator is typed #18857', function() |