" As there is currently no better way to detect upstart job files (by content " or extension), we treat all files in an event.d/ directory as upstart job files. au BufNewFile,BufRead */event.d*/* set filetype=upstart au BufNewFile,BufRead */jobs.d/* set filetype=upstart