neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 2aa84ce210af8ec8f80dd4972926dbc60971526b
parent ff972b88db89927c8e0c1a5d76c999bb80636d92
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Thu, 14 Mar 2024 15:04:14 +0800

vim-patch:45da32964d6e

runtime(mswin): still another clipboard_working test

Commit 760f664213dea9a300454992ba1589f4601d622f missed to revert back
another test for `if has('clipboard_working')`

So change the remaining check around the inoremap <c-v> mappings.

fixes vim/vim#14195

https://github.com/vim/vim/commit/45da32964d6e7e635af8fcf0b42e974b0b536ed3

Co-authored-by: Christian Brabandt <cb@256bit.org>

Diffstat:
Mruntime/mswin.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/mswin.vim b/runtime/mswin.vim @@ -70,7 +70,7 @@ endif " Uses the paste.vim autoload script. " Use CTRL-G u to have CTRL-Z only undo the paste. -if has("clipboard_working") +if has("clipboard") exe 'inoremap <script> <C-V> <C-G>u' . paste#paste_cmd['i'] exe 'vnoremap <script> <C-V> ' . paste#paste_cmd['v'] endif