The vim setting lazyredraw is useful to prevent the screen refreshing whilst a macro is being running - it will wait until the macro is finished before redrawing. This can help to speed up macros
Currently, quick-scope calls the redraw function directly. This means that, if qs_highlight_on_keys is set, using these keys during a macro will force a redraw and therefore basically make lazyredraw ineffective
This change checks that lazyredraw is not set before it redraws, which allows macros to still by run quickly using lazyredraw
The vim setting
lazyredraw
is useful to prevent the screen refreshing whilst a macro is being running - it will wait until the macro is finished before redrawing. This can help to speed up macrosCurrently, quick-scope calls the
redraw
function directly. This means that, ifqs_highlight_on_keys
is set, using these keys during a macro will force aredraw
and therefore basically makelazyredraw
ineffectiveThis change checks that
lazyredraw
is not set before it redraws, which allows macros to still by run quickly usinglazyredraw