" Support for automatic update using the GLVS plug-in.
@@ -12,6 +12,19 @@ if &cp || exists('g:loaded_lua_ftplugin')
+" 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-ftplugin 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-ftplugin plug-in will now be disabled."
" Commands to manually check for syntax errors and undefined globals.