winston0410 / range-highlight.nvim

An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
MIT License
203 stars 5 forks source link

Add timer debounce on `CmdlineChanged` to avoid `cmdline` completion delay #15

Open luozhiya opened 1 year ago

luozhiya commented 1 year ago

Hi,

When completing on the cmdline, the CmdlineChanged event will be triggered many times.

This PR add timer debounce on CmdlineChanged to avoid cmdline completion delay.