diff options
Diffstat (limited to 'plugin/auditory.vim')
| -rw-r--r-- | plugin/auditory.vim | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/plugin/auditory.vim b/plugin/auditory.vim index 87585a3..b657bd9 100644 --- a/plugin/auditory.vim +++ b/plugin/auditory.vim @@ -1,3 +1,10 @@ +" Require mplayer otherwise fail +if !executable('mplayer') +	echoerr 'Auditory.vim requires `mplayer` to be installed' +	finish +endif + +  augroup auditory#insert_mode  	autocmd!  	autocmd CursorMovedI * call auditory#PlayScale() | 
