pub fn detect_language(path: &Path) -> Option<Language>
Detect the language of a source file based on extension.