add ftdetect, auto detect the filetype of config file as vim