From 2acf25c6897f45c9e7332712cca63d4eb576533c Mon Sep 17 00:00:00 2001 From: Linda_pp Date: Tue, 2 Apr 2024 12:05:15 +0900 Subject: [PATCH] ignore/types: add WGSL to the default file types [WGSL][1] is a shading language for WebGPU. As defined in [Appendix A][2], the file extension is `.wgsl`. PR #2774 [1]: https://www.w3.org/TR/WGSL/ [2]: https://www.w3.org/TR/WGSL/#text-wgsl-media-type --- crates/ignore/src/default_types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index 2f03e5a3..2cf8ad80 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -305,6 +305,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[ ]), (&["vue"], &["*.vue"]), (&["webidl"], &["*.idl", "*.webidl", "*.widl"]), + (&["wgsl"], &["*.wgsl"]), (&["wiki"], &["*.mediawiki", "*.wiki"]), (&["xml"], &[ "*.xml", "*.xml.dist", "*.dtd", "*.xsl", "*.xslt", "*.xsd", "*.xjb",