summaryrefslogtreecommitdiff
path: root/support/texlab/src/tex/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/src/tex/mod.rs')
-rw-r--r--support/texlab/src/tex/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/texlab/src/tex/mod.rs b/support/texlab/src/tex/mod.rs
index 6d60380e52..59318f9d22 100644
--- a/support/texlab/src/tex/mod.rs
+++ b/support/texlab/src/tex/mod.rs
@@ -72,7 +72,7 @@ pub enum Language {
impl Language {
pub fn by_extension(extension: &str) -> Option<Self> {
match extension.to_lowercase().as_str() {
- "tex" | "sty" | "cls" | "def" | "lco" | "aux" => Some(Language::Latex),
+ "tex" | "sty" | "cls" | "def" | "lco" | "aux" | "rnw" => Some(Language::Latex),
"bib" | "bibtex" => Some(Language::Bibtex),
_ => None,
}