diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-10-03 11:24:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 11:24:33 +0800 |
commit | 6851b265ba1d232cc47927ef982d10d5df7a5cf4 (patch) | |
tree | 9cd487b8a5d2b3887ebf74791b7b664d9b5aa086 | |
parent | e1157324657907fab37de8dea71442802d222dd3 (diff) | |
download | rneovim-6851b265ba1d232cc47927ef982d10d5df7a5cf4.tar.gz rneovim-6851b265ba1d232cc47927ef982d10d5df7a5cf4.tar.bz2 rneovim-6851b265ba1d232cc47927ef982d10d5df7a5cf4.zip |
fix(clipboard): don't pass --foreground to wl-copy (#25481)
Fix #25466
-rw-r--r-- | runtime/autoload/provider/clipboard.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/autoload/provider/clipboard.vim b/runtime/autoload/provider/clipboard.vim index 6ba28dcbfc..05f6bdb871 100644 --- a/runtime/autoload/provider/clipboard.vim +++ b/runtime/autoload/provider/clipboard.vim @@ -93,9 +93,9 @@ function! provider#clipboard#Executable() abort let s:cache_enabled = 0 return 'pbcopy' elseif !empty($WAYLAND_DISPLAY) && executable('wl-copy') && executable('wl-paste') - let s:copy['+'] = ['wl-copy', '--foreground', '--type', 'text/plain'] + let s:copy['+'] = ['wl-copy', '--type', 'text/plain'] let s:paste['+'] = ['wl-paste', '--no-newline'] - let s:copy['*'] = ['wl-copy', '--foreground', '--primary', '--type', 'text/plain'] + let s:copy['*'] = ['wl-copy', '--primary', '--type', 'text/plain'] let s:paste['*'] = ['wl-paste', '--no-newline', '--primary'] return 'wl-copy' elseif !empty($WAYLAND_DISPLAY) && executable('waycopy') && executable('waypaste') |