From 35f1d8f86e839023a837fe978cd219fba168ff95 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 20 Nov 2012 22:23:35 +0100 Subject: [PATCH] vimrc: Use echoerr to warn about possible template files. echohl WarningMsg ... echohl None doesn't always display the message, even with redraw. --- vimrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 51aabef..5bc0894 100644 --- a/vimrc +++ b/vimrc @@ -927,9 +927,7 @@ if has('autocmd') return endif - echohl WarningMsg - echo 'Do not edit this file! (Maybe a template file.)' - echohl None + echoerr 'Do not edit this file! (Maybe a template file.)' endfunction autocmd BufRead * call SearchForDoNotEditHeader() -- 2.45.2