From 35ea4d2b9072594b6c0ccf87bde7978ed9f94755 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 25 Jan 2020 16:56:10 +0100 Subject: Update --- ftplugin/mail_vifm.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin/mail_vifm.vim') diff --git a/ftplugin/mail_vifm.vim b/ftplugin/mail_vifm.vim index 33e62683..c9849fbc 100644 --- a/ftplugin/mail_vifm.vim +++ b/ftplugin/mail_vifm.vim @@ -54,7 +54,7 @@ function! s:HandleRunResults(exitcode, listf) if filereadable(a:listf) && l:insert_pos != 0 for line in readfile(a:listf) - call append(l:insert_pos, 'Attach: '.line) + call append(l:insert_pos, 'Attach: '.escape(line, " ")) let l:insert_pos += 1 endfor endif -- cgit v1.2.3