aboutsummaryrefslogtreecommitdiff
path: root/vim/config/format.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-05 01:42:00 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-05 01:42:17 +1300
commit7f25dd5c05704d73e57c5dd149c3263062765197 (patch)
treecbe3d720b109ab8b63f0d1a905aebc1bcc84af3e /vim/config/format.vim
parentUse simpler error message for 'fo'-'a' absence (diff)
downloaddotfiles-7f25dd5c05704d73e57c5dd149c3263062765197.tar.gz
dotfiles-7f25dd5c05704d73e57c5dd149c3263062765197.zip
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.
Diffstat (limited to 'vim/config/format.vim')
-rw-r--r--vim/config/format.vim2
1 files changed, 1 insertions, 1 deletions
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 <silent>
\ <Leader>a
- \ :<C-U>echomsg 'No formatoptions a-flag'<CR>
+ \ :<C-U>echoerr 'No formatoptions a-flag'<CR>
endif
endif