Skip to content

Commit

Permalink
Add .bibtex to the list of supported extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
pfoerster committed Dec 11, 2019
1 parent cdd4063 commit f1bb03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/tex/src/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ impl Language {
pub fn by_extension(extension: &str) -> Option<Self> {
match extension.to_lowercase().as_ref() {
"tex" | "sty" | "cls" | "lco" | "aux" => Some(Language::Latex),
"bib" => Some(Language::Bibtex),
"bib" | "bibtex" => Some(Language::Bibtex),
_ => None,
}
}
Expand Down

0 comments on commit f1bb03c

Please sign in to comment.