diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-05 01:42:00 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-05 01:42:17 +1300 |
commit | 7f25dd5c05704d73e57c5dd149c3263062765197 (patch) | |
tree | cbe3d720b109ab8b63f0d1a905aebc1bcc84af3e /vim/config | |
parent | Use simpler error message for 'fo'-'a' absence (diff) | |
download | dotfiles-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')
-rw-r--r-- | vim/config/format.vim | 2 |
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 |