Code snippets should guess the language

It’s tedious having to remember to set this property.