Use ftdetect/ and ftplugin/ directories