runtime(mswin): still another clipboard_working test
Commit:
https://github.com/vim/vim/commit/45da32964d6e7e635af8fcf0b42e974b0b536ed3
Author: Christian Brabandt <[email protected]>
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 <[email protected]>
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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1rkfIv-000n18-HG%40256bit.org.