diff --git a/crates/tex/src/language.rs b/crates/tex/src/language.rs index ea2b6eec9..45451b247 100644 --- a/crates/tex/src/language.rs +++ b/crates/tex/src/language.rs @@ -8,7 +8,7 @@ impl Language { pub fn by_extension(extension: &str) -> Option { match extension.to_lowercase().as_ref() { "tex" | "sty" | "cls" | "lco" | "aux" => Some(Language::Latex), - "bib" => Some(Language::Bibtex), + "bib" | "bibtex" => Some(Language::Bibtex), _ => None, } }