diff options
| author | Teddy Wing | 2014-11-22 14:04:19 -0500 |
|---|---|---|
| committer | Teddy Wing | 2014-11-22 14:04:19 -0500 |
| commit | d194dc4e3772f0215c679c83c99fdd2f9c9c6a34 (patch) | |
| tree | 39201819b8311a567465153980e2114c495e6cd8 | |
| parent | 5499449cfea44f2a33a0cf8fa039adf96cc6f313 (diff) | |
| download | auditory.vim-d194dc4e3772f0215c679c83c99fdd2f9c9c6a34.tar.bz2 | |
plugin/auditory.vim: Decrease warning level of mplayer error
Instead of echoing and error, just echo a message about mplayer not
being installed. Errors look pretty annoying on initial load, and I
don't think this is worth the red background colour. It could be that a
user has two machines, one with mplayer installed and one without. In
that case, I don't want people to have to disable the plugin on one
machine. That seems like too much to ask.
I think this is a nice middle-ground between alerting users that
something is needed by the plugin and not barfing if it's not there.
| -rw-r--r-- | plugin/auditory.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/auditory.vim b/plugin/auditory.vim index b657bd9..3ada40e 100644 --- a/plugin/auditory.vim +++ b/plugin/auditory.vim @@ -1,6 +1,6 @@ " Require mplayer otherwise fail if !executable('mplayer') - echoerr 'Auditory.vim requires `mplayer` to be installed' + echomsg 'Auditory.vim requires `mplayer` to be installed' finish endif |
