add ftdetect for snippets