From 11e164aec914c9471ecebdb202048502a1620dc2 Mon Sep 17 00:00:00 2001 From: Alex LaFroscia Date: Wed, 12 Oct 2016 17:07:04 -0700 Subject: [PATCH 1/2] Add `handlebars` type --- src/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.rs b/src/types.rs index b87e01ac..6ee3f2dd 100644 --- a/src/types.rs +++ b/src/types.rs @@ -40,6 +40,7 @@ const TYPE_EXTENSIONS: &'static [(&'static str, &'static [&'static str])] = &[ ("fsharp", &["*.fs", "*.fsx", "*.fsi"]), ("go", &["*.go"]), ("groovy", &["*.groovy", "*.gradle"]), + ("handlebars", &["*.hbs"]), ("haskell", &["*.hs", "*.lhs"]), ("html", &["*.htm", "*.html"]), ("java", &["*.java"]), From 1fc6787648a0b97486c3b79857e3ac28e266c343 Mon Sep 17 00:00:00 2001 From: Alex LaFroscia Date: Wed, 12 Oct 2016 17:08:24 -0700 Subject: [PATCH 2/2] Shorten name of Handlebars type --- src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.rs b/src/types.rs index 6ee3f2dd..cefecdcc 100644 --- a/src/types.rs +++ b/src/types.rs @@ -40,7 +40,7 @@ const TYPE_EXTENSIONS: &'static [(&'static str, &'static [&'static str])] = &[ ("fsharp", &["*.fs", "*.fsx", "*.fsi"]), ("go", &["*.go"]), ("groovy", &["*.groovy", "*.gradle"]), - ("handlebars", &["*.hbs"]), + ("hbs", &["*.hbs"]), ("haskell", &["*.hs", "*.lhs"]), ("html", &["*.htm", "*.html"]), ("java", &["*.java"]),