Function libdiffsitter::parse::language_from_ext
source · pub fn language_from_ext(
ext: &str,
grammar_config: &GrammarConfig
) -> Result<Language, LoadingError>
Expand description
Create an instance of a language from a file extension
The user may optionally provide a map of overrides or additional file extensions.