fixed ftdetect and ftplugin for latex