Skip to main content

support_for_extension

Function support_for_extension 

Source
pub fn support_for_extension(ext: &str) -> Option<&'static dyn Language>
Expand description

Get language support for a file extension.

Returns None if the extension is not recognized or the feature is not enabled.