aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp.lua
diff options
context:
space:
mode:
authorSiddhant Agarwal <68201519+siddhantdev@users.noreply.github.com>2025-04-03 19:56:56 +0530
committerGitHub <noreply@github.com>2025-04-03 07:26:56 -0700
commiteae2d3b145c724e8c801c7c22a2ccc3bde5534eb (patch)
treed30812a2e6b14b82aab0eb05085f424abaf84c04 /runtime/lua/vim/lsp.lua
parent974a3aa2c4c34f97ce015466a7dfc5fd727fccc2 (diff)
downloadrneovim-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/lsp.lua')
0 files changed, 0 insertions, 0 deletions