mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
Problem: With these settings, copy/pasting `blockwise-visual` (with `CTRL+V`) incorrectly pastes as a `linewise` mode because `regtype` is ignored: vim.opt.clipboard = 'unnamedplus' vim.g.clipboard = 'osc52' To reproduce: press `CTRL+V` and select some characters press `p` and observe that it is pasted in `linewise` mode. Solution: Enable the [clipboard.vim](https://github.com/neovim/neovim/blob/master/runtime/autoload/provider/clipboard.vim#L281-L283)) cache for function providers, so that `regtype` is maintained for the OSC52 clipboard provider.