mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00

Currently, highlight.on_yank() does buffer-local highlighting, this PR makes it window scoped. Also fix the problem that when yanking in a buffer, moving to another buffer, and yanking before the original buffer highlight disappears, the original buffer highlight won't disappear on timeout.