From f74078af5b1a2d37e0d952f38320c594906793a8 Mon Sep 17 00:00:00 2001 From: chrisdoc Date: Sat, 24 Sep 2016 08:42:44 +0200 Subject: [PATCH] Add support for the Swift programming language file type --- src/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.rs b/src/types.rs index 3a05b5f3..131b96dd 100644 --- a/src/types.rs +++ b/src/types.rs @@ -66,6 +66,7 @@ const TYPE_EXTENSIONS: &'static [(&'static str, &'static [&'static str])] = &[ ("scala", &["*.scala"]), ("sh", &["*.bash", "*.csh", "*.ksh", "*.sh", "*.tcsh"]), ("sql", &["*.sql"]), + ("swift", &["*.swift"]), ("tex", &["*.tex", "*.cls", "*.sty"]), ("txt", &["*.txt"]), ("toml", &["*.toml", "Cargo.lock"]),