" Support for automatic update using the GLVS plug-in.
@@ -11,6 +11,19 @@ if &cp || exists('g:loaded_luainspect')
+" Make sure vim-misc is installed.
+" The point of this code is to do something completely innocent while making
+" sure the vim-misc plug-in is installed. We specifically don't use Vim's
+" exists() function because it doesn't load auto-load scripts that haven't
+" already been loaded yet (last tested on Vim 7.3).
+ echomsg"Warning: The vim-lua-inspect plug-in requires the vim-misc plug-in which seems not to be installed! For more information please review the installation instructions in the readme (also available on the homepage and on GitHub). The vim-lua-inspect plug-in will now be disabled."
" Change this to disable automatic warning messages.