diff options
author | Siddhant Agarwal <68201519+siddhantdev@users.noreply.github.com> | 2025-04-03 19:56:56 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-03 07:26:56 -0700 |
commit | eae2d3b145c724e8c801c7c22a2ccc3bde5534eb (patch) | |
tree | d30812a2e6b14b82aab0eb05085f424abaf84c04 /runtime/lua/vim/re.lua | |
parent | 974a3aa2c4c34f97ce015466a7dfc5fd727fccc2 (diff) | |
download | rneovim-eae2d3b145c724e8c801c7c22a2ccc3bde5534eb.tar.gz rneovim-eae2d3b145c724e8c801c7c22a2ccc3bde5534eb.tar.bz2 rneovim-eae2d3b145c724e8c801c7c22a2ccc3bde5534eb.zip |
feat(vim.hl): allow multiple timed highlights simultaneously #33283
Problem: Currently vim.hl.range only allows one timed highlight.
Creating another one, removes the old one.
Solution: vim.hl.range now returns a timer and a function. The timer
keeps track of how much time is left in the highlight and the function
allows you to clear it, letting the user decide what to do with old
highlights.
Diffstat (limited to 'runtime/lua/vim/re.lua')
0 files changed, 0 insertions, 0 deletions