Removed a workaround that is not needed anymore

main
Marko Korhonen 4 years ago
parent 9e41240cdd
commit 757c3a750a

@ -1 +1 @@
Subproject commit fe2681e32ca6d387cd9693bb704b2273b440e664
Subproject commit 831b3ddc1a49ae5b96fba6d394a07f76963196a2

@ -1,18 +0,0 @@
{%@@ if profile == "Mirkwood" @@%}
" Wayland clipboard provider that strips carriage returns (GTK3 issue).
" This is needed because currently there's an issue where GTK3 applications on
" Wayland contain carriage returns at the end of the lines (this is a root
" issue that needs to be fixed).
let g:clipboard = {
\ 'name': 'wayland-strip-carriage',
\ 'copy': {
\ '+': 'wl-copy --foreground --type text/plain',
\ '*': 'wl-copy --foreground --type text/plain --primary',
\ },
\ 'paste': {
\ '+': {-> systemlist('wl-paste --no-newline | tr -d "\r"')},
\ '*': {-> systemlist('wl-paste --no-newline --primary | tr -d "\r"')},
\ },
\ 'cache_enabled': 1,
\ }
{%@@ endif @@%}
Loading…
Cancel
Save