From 09e464e67493138fcf598212fe7972518329fe60 Mon Sep 17 00:00:00 2001
From: Matteo Bertini <matteo@naufraghi.net>
Date: Mon, 19 Nov 2018 13:37:00 +0100
Subject: [PATCH] ignore/types: add more Cython file types

From the [Cython file types](https://cython.readthedocs.io/en/latest/src/userguide/language_basics.html?highlight=pxi#cython-file-types) paragraph on the official docs:

> There are three file types in Cython:
>    The implementation files, carrying a .py or .pyx suffix.
>    The definition files, carrying a .pxd suffix.
>    The include files, carrying a .pxi suffix.

PR #1113
---
 ignore/src/types.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ignore/src/types.rs b/ignore/src/types.rs
index 8cd044e3..2f0da38a 100644
--- a/ignore/src/types.rs
+++ b/ignore/src/types.rs
@@ -128,7 +128,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
     ("cshtml", &["*.cshtml"]),
     ("css", &["*.css", "*.scss"]),
     ("csv", &["*.csv"]),
-    ("cython", &["*.pyx"]),
+    ("cython", &["*.pyx", "*.pxi", "*.pxd"]),
     ("dart", &["*.dart"]),
     ("d", &["*.d"]),
     ("dhall", &["*.dhall"]),