pub fn detect_language(path: &Path) -> Option<LangId>
Detect a file’s language, resolving ambiguous headers from their contents.