mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-08-04 10:49:55 +00:00
Treat DEF files as TeX files
This commit is contained in:
parent
5e16ecc214
commit
55ad518a16
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ pub enum Language {
|
|||
impl Language {
|
||||
pub fn by_extension(extension: &str) -> Option<Self> {
|
||||
match extension.to_lowercase().as_ref() {
|
||||
"tex" | "sty" | "cls" | "lco" | "aux" => Some(Language::Latex),
|
||||
"tex" | "sty" | "cls" | "def" | "lco" | "aux" => Some(Language::Latex),
|
||||
"bib" | "bibtex" => Some(Language::Bibtex),
|
||||
_ => None,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue