From e902e2fef40b926bdf093c6a3939be8cc6f3778a Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 1 Mar 2023 04:32:28 +0000 Subject: [PATCH] ignore/types: add Gentoo eclass type Eclasses are "ebuild libraries" and generally if you're filtering for/filtering out an ebuild/eclass, you don't want the other either. Followup to 4dfea016b915bb1e88679361de83a91e60447835 Closes #2437 --- CHANGELOG.md | 2 +- crates/ignore/src/default_types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03d57934..694a5e55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ Unreleased changes. Release notes have not yet been written. Feature enhancements: -* Added or improved file type filtering for Elixir, Fuchsia, GraphQL +* Added or improved file type filtering for Elixir, Fuchsia, Gentoo, GraphQL Bug fixes: diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index fcf27fcc..0cd29a95 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -64,7 +64,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("dockercompose", &["docker-compose.yml", "docker-compose.*.yml"]), ("dts", &["*.dts", "*.dtsi"]), ("dvc", &["Dvcfile", "*.dvc"]), - ("ebuild", &["*.ebuild"]), + ("ebuild", &["*.ebuild", "*.eclass"]), ("edn", &["*.edn"]), ("elisp", &["*.el"]), ("elixir", &["*.ex", "*.eex", "*.exs", "*.heex", "*.leex", "*.livemd"]),