Removed a workaround that is not needed anymore

This commit is contained in:
Marko Korhonen 2020-12-01 18:03:30 +02:00
parent 9e41240cdd
commit 757c3a750a
3 changed files with 1 additions and 19 deletions

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

View file

@ -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 @@%}