diff options
| author | Teddy Wing | 2014-11-22 14:29:00 -0500 |
|---|---|---|
| committer | Teddy Wing | 2014-11-22 14:29:00 -0500 |
| commit | 4cf56fd9514da6ec5f1f26273a8d89938d05513a (patch) | |
| tree | fdb2226445d117f970f147b525e3cc205920fabc /plugin | |
| parent | 2047439f2f6204df670a2f3a1d0a7a396c8f115e (diff) | |
| parent | 8d0b1164a6d92a568df70d7b98f4b0904a791331 (diff) | |
| download | auditory.vim-4cf56fd9514da6ec5f1f26273a8d89938d05513a.tar.bz2 | |
Merge branch 'error-message-if-no-mplayer'
Diffstat (limited to 'plugin')
| -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..3ada40e 100644 --- a/plugin/auditory.vim +++ b/plugin/auditory.vim @@ -1,3 +1,10 @@ +" Require mplayer otherwise fail +if !executable('mplayer') + echomsg 'Auditory.vim requires `mplayer` to be installed' + finish +endif + + augroup auditory#insert_mode autocmd! autocmd CursorMovedI * call auditory#PlayScale() |
