Commit: runtime(mswin): still another clipboard_working test

8 views
Skip to first unread message

Christian Brabandt

unread,
Mar 14, 2024, 3:15:11 AM3/14/24
to vim...@googlegroups.com
runtime(mswin): still another clipboard_working test

Commit: https://github.com/vim/vim/commit/45da32964d6e7e635af8fcf0b42e974b0b536ed3
Author: Christian Brabandt <c...@256bit.org>
Date: Thu Mar 14 07:55:48 2024 +0100

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 #14195

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/mswin.vim b/runtime/mswin.vim
index 798d94061..b2a3670eb 100644
--- a/runtime/mswin.vim
+++ b/runtime/mswin.vim
@@ -67,7 +67,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
Reply all
Reply to author
Forward
0 new messages