diff options
author | Andrew Gallant <jamslam@gmail.com> | 2023-07-08 10:08:28 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2023-07-08 18:52:42 -0400 |
commit | da7c81fb960a2f5d0e3e3abd4bb86d7bb223ea57 (patch) | |
tree | 13a0e06ba6d17f6b7060edb20d5e624962f9f0b8 /crates/ignore | |
parent | a4e3d56de1fcf8c5d8e7c304585733c6f9853886 (diff) |
ignore/types: add MDX format to Markdown types
Ref https://mdxjs.com/
Closes #2142
Diffstat (limited to 'crates/ignore')
-rw-r--r-- | crates/ignore/src/default_types.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index 08374599..21c7cbc4 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -160,9 +160,18 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ "*.mdwn", "*.mkd", "*.mkdn", + "*.mdx", ]), ("matlab", &["*.m"]), - ("md", &["*.markdown", "*.md", "*.mdown", "*.mdwn", "*.mkd", "*.mkdn"]), + ("md", &[ + "*.markdown", + "*.md", + "*.mdown", + "*.mdwn", + "*.mkd", + "*.mkdn", + "*.mdx", + ]), ("meson", &["meson.build", "meson_options.txt"]), ("minified", &["*.min.html", "*.min.css", "*.min.js"]), ("mint", &["*.mint"]), |