From 7815b8b7ca790bb55b7e5306da2fc45528e1d8c8 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 17 May 2019 02:50:30 +0300 Subject: [PATCH] .vim/plugin/tmpwatch.vim: echo -> echoerr --- .vim/plugin/tmpwatch.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vim/plugin/tmpwatch.vim b/.vim/plugin/tmpwatch.vim index cdd1be0..0db1ddd 100644 --- a/.vim/plugin/tmpwatch.vim +++ b/.vim/plugin/tmpwatch.vim @@ -5,11 +5,11 @@ function Tmpwatch(path, days) if isdirectory(l:path) for file in split(globpath(l:path, "*"), "\n") if localtime() > getftime(file) + 86400 * a:days && delete(file) != 0 - echo "Tmpwatch(): Error deleting '" . file . "'" + echoerr "Tmpwatch(): Error deleting '" . file . "'" endif endfor else - echo "Tmpwatch(): Directory '" . l:path . "' not found" + echoerr "Tmpwatch(): Directory '" . l:path . "' not found" endif endfunction -- 2.39.5