Skip to content

Commit

Permalink
add MS Word, PPT, Excel types
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimpkins committed Dec 19, 2023
1 parent fe39145 commit c22584e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/types_default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
(&["dhall"], &["*.dhall"]),
(&["diff"], &["*.patch", "*.diff"]),
(&["dita"], &["*.dita", "*.ditamap", "*.ditaval"]),
(&["doc"], &["*.doc", "*.docx"]),
(&["docker"], &["*Dockerfile*"]),
(&["dockercompose"], &["docker-compose.yml", "docker-compose.*.yml"]),
(&["dts"], &["*.dts", "*.dtsi"]),
Expand Down Expand Up @@ -222,7 +223,6 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
"*.csproj", "*.fsproj", "*.vcxproj", "*.proj", "*.props", "*.targets",
"*.sln",
]),
(&["msword"], &["*.doc", "*.docx"]),
(&["nim"], &["*.nim", "*.nimf", "*.nimble", "*.nims"]),
(&["nix"], &["*.nix"]),
(&["objc"], &["*.h", "*.m"]),
Expand All @@ -245,6 +245,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
(&["po"], &["*.po"]),
(&["pod"], &["*.pod"]),
(&["postscript"], &["*.eps", "*.ps"]),
(&["ppt"], &["*.ppt", "*.pptx"]),
(&["prolog"], &["*.pl", "*.pro", "*.prolog", "*.P"]),
(&["protobuf"], &["*.proto"]),
(&["ps"], &["*.cdxml", "*.ps1", "*.ps1xml", "*.psd1", "*.psm1"]),
Expand Down Expand Up @@ -356,6 +357,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
(&["webp"], &["*.webp"]),
(&["wiki"], &["*.mediawiki", "*.wiki"]),
(&["woff"], &["*.woff", "*.woff2"]),
(&["xls"], &["*.xls", "*.xlsx"]),
(&["xml"], &[
"*.xml", "*.xml.dist", "*.dtd", "*.xsl", "*.xslt", "*.xsd", "*.xjb",
"*.rng", "*.sch", "*.xhtml",
Expand Down

0 comments on commit c22584e

Please sign in to comment.