Skip to content

Commit

Permalink
types: add multiple font file types
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimpkins committed Dec 18, 2023
1 parent 7ce12a6 commit 64dfb12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/types_default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
(&["fidl"], &["*.fidl"]),
(&["fish"], &["*.fish"]),
(&["flatbuffers"], &["*.fbs"]),
(&["font"], &["*.otc", "*.otf", "*.ttc", "*.ttf", "*.woff", "*.woff2"]),
(&["fortran"], &[
"*.f", "*.F", "*.f77", "*.F77", "*.pfo",
"*.f90", "*.F90", "*.f95", "*.F95",
Expand Down Expand Up @@ -224,6 +225,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
(&["objcpp"], &["*.h", "*.mm"]),
(&["ocaml"], &["*.ml", "*.mli", "*.mll", "*.mly"]),
(&["org"], &["*.org", "*.org_archive"]),
(&["otf"], &["*.otf", "*.otc"]),
(&["pants"], &["BUILD"]),
(&["pascal"], &["*.pas", "*.dpr", "*.lpr", "*.pp", "*.inc"]),
(&["pdf"], &["*.pdf"]),
Expand Down Expand Up @@ -326,6 +328,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
(&["thrift"], &["*.thrift"]),
(&["toml"], &["*.toml", "Cargo.lock"]),
(&["ts", "typescript"], &["*.ts", "*.tsx", "*.cts", "*.mts"]),
(&["ttf"], &["*.ttf", "*.ttc"]),
(&["twig"], &["*.twig"]),
(&["txt"], &["*.txt"]),
(&["typoscript"], &["*.typoscript", "*.ts"]),
Expand All @@ -345,6 +348,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
(&["webidl"], &["*.idl", "*.webidl", "*.widl"]),
(&["webp"], &["*.webp"]),
(&["wiki"], &["*.mediawiki", "*.wiki"]),
(&["woff"], &["*.woff", "*.woff2"]),
(&["xml"], &[
"*.xml", "*.xml.dist", "*.dtd", "*.xsl", "*.xslt", "*.xsd", "*.xjb",
"*.rng", "*.sch", "*.xhtml",
Expand Down

0 comments on commit 64dfb12

Please sign in to comment.