mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +00:00
## Description <!-- Describe the big picture of your changes to communicate to the maintainers why we should accept this pull request. --> A recent PR (https://github.com/neovim/neovim/pull/39777) replaced `vim.hl.on_yank` with a more generic `vim.hl.hl_op` and deprecated the former. This PR simply checks for `nvim-0.13` support and uses the new interface if available. This removes a deprecation warning and will avoid an error when `on_yank` gets deprecated in the nvim 0.14 release. Thanks! ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines. |
||
|---|---|---|
| .. | ||
| lazyvim | ||