ftdetect: code style tweak.

Use `autocmd` instead of `au`, etc.
ftdetect: fix a typo (cannot find detect function).