]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(mswin): still another clipboard_working test
authorChristian Brabandt <cb@256bit.org>
Thu, 14 Mar 2024 06:55:48 +0000 (07:55 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 14 Mar 2024 06:59:09 +0000 (07:59 +0100)
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 <cb@256bit.org>
runtime/mswin.vim

index 798d94061c1aafecc11a054ef835b5b45f4aa2be..b2a3670eb13a1491302424c047f2921bf96fcf79 100644 (file)
@@ -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