mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
Merge pull request #25482 from neovim/backport-25481-to-release-0.9
[Backport release-0.9] fix(clipboard): don't pass --foreground to wl-copy
This commit is contained in:
commit
bd042ef086
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user