From 7f25dd5c05704d73e57c5dd149c3263062765197 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 5 Nov 2017 01:42:00 +1300 Subject: Use :echoerr not :echomsg for 'fo'-'a' absence A bit clearer as the mapping was clearly called in error, and results in not being able to do what was need. --- vim/config/format.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim/config/format.vim') diff --git a/vim/config/format.vim b/vim/config/format.vim index c41e55ef..64a0a35b 100644 --- a/vim/config/format.vim +++ b/vim/config/format.vim @@ -46,7 +46,7 @@ if has('eval') && has('user_commands') else nnoremap \ a - \ :echomsg 'No formatoptions a-flag' + \ :echoerr 'No formatoptions a-flag' endif endif -- cgit v1.2.3