pub fn language_for_extension(ext: &str) -> Option<&'static str>Expand description
Returns the language identifier for the given file extension, or None if unsupported.
The lookup is case-insensitive. Supported extensions include rs, py, go, java,
ts, tsx, f90, f95, for, ftn, and other Fortran variants, as well as
js, mjs, cjs, c, cc, cpp, cxx, h, hpp, hxx, and cs.