diff --git a/src/types.rs b/src/types.rs index b49e9df5..7c33a48c 100644 --- a/src/types.rs +++ b/src/types.rs @@ -65,7 +65,7 @@ const TYPE_EXTENSIONS: &'static [(&'static str, &'static [&'static str])] = &[ ("ocaml", &["*.ml", "*.mli", "*.mll", "*.mly"]), ("perl", &["*.perl", "*.pl", "*.PL", "*.plh", "*.plx", "*.pm"]), ("php", &["*.php", "*.php3", "*.php4", "*.php5", "*.phtml"]), - ("py", &["*.py"]), + ("py", &["*.py", "*.pyx"]), ("readme", &["README*", "*README"]), ("r", &["*.R", "*.r", "*.Rmd", "*.Rnw"]), ("rst", &["*.rst"]),