diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-14 15:04:14 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-03-14 15:04:31 +0800 |
commit | 2aa84ce210af8ec8f80dd4972926dbc60971526b (patch) | |
tree | 8b2300478ba2c02d042e9ff885ddb9af319d188e | |
parent | ff972b88db89927c8e0c1a5d76c999bb80636d92 (diff) | |
download | rneovim-2aa84ce210af8ec8f80dd4972926dbc60971526b.tar.gz rneovim-2aa84ce210af8ec8f80dd4972926dbc60971526b.tar.bz2 rneovim-2aa84ce210af8ec8f80dd4972926dbc60971526b.zip |
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>
-rw-r--r-- | runtime/mswin.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mswin.vim b/runtime/mswin.vim index d419146958..689bc792cf 100644 --- 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 |