From 23ad8b989d029e3a751c894fa2138e65066dd657 Mon Sep 17 00:00:00 2001 From: Martin Lindhe Date: Sun, 25 Sep 2016 17:06:13 +0200 Subject: [PATCH] --type js: include more extensions --- src/types.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/types.rs b/src/types.rs index 3a05b5f3..68b208a3 100644 --- a/src/types.rs +++ b/src/types.rs @@ -41,7 +41,9 @@ const TYPE_EXTENSIONS: &'static [(&'static str, &'static [&'static str])] = &[ ("haskell", &["*.hs", "*.lhs"]), ("html", &["*.htm", "*.html"]), ("java", &["*.java"]), - ("js", &["*.js"]), + ("js", &[ + "*.js", "*.jsx", "*.vue", + ]), ("json", &["*.json"]), ("jsonl", &["*.jsonl"]), ("lisp", &["*.el", "*.jl", "*.lisp", "*.lsp", "*.sc", "*.scm"]),