From 13bbef7ed404f81bcb46198794db5ef0f12e0f1c Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Tue, 24 Nov 2020 22:47:51 +0100 Subject: [PATCH] Add workaround to support Neovim --- plugin/osc52.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/osc52.vim b/plugin/osc52.vim index e975873..9097a84 100644 --- a/plugin/osc52.vim +++ b/plugin/osc52.vim @@ -99,7 +99,9 @@ endfun function! s:rawecho(str) let redraw = get(g:, 'osc52_redraw', 2) let print = get(g:, 'osc52_print', 'echo') - if print == 'echo' + if has('nvim') + call chansend(v:stderr, a:str) + elseif print == 'echo' exe "silent! !echo" shellescape(a:str) elseif print == 'printf' exe "silent! !printf \\%s" shellescape(a:str)