Files
neovim/test/functional/lua
Justin M. Keyes ec7dab077b fix(vim.hl): range(0,…) highlight not cleared after buffer-switch #40130
Problem:
When `vim.hl.range(0, …, { timeout = N })` is called, the deferred
`range_hl_clear` captures `buf=0`, which resolves to an arbitrary
"current buffer" at timeout. This may cause a stale highlight that never
gets cleared.

Solution:
Resolve `buf=0` explicitly, before `range_hl_clear` captures it.
2026-06-06 10:26:12 +00:00
..
2024-04-23 18:17:04 +02:00
2025-01-09 09:26:45 -08:00
2026-05-10 11:03:15 -04:00
2024-04-23 18:17:04 +02:00
2026-03-29 13:36:56 +02:00