Skip to content

Commit

Permalink
ignore/types: add *.org_archive to org file type
Browse files Browse the repository at this point in the history
.org_archive is the default extension for Org archive files, created when
entries from an Org-mode file are archived (see
<https://orgmode.org/org.html#Moving-subtrees>). These files are still in Org
mode format, so it's worth searching them at the same time as non-archive Org
mode files.

PR #1475
  • Loading branch information
telotortium authored Jan 29, 2020
1 parent f8fb65f commit e76807b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ignore/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("objc", &["*.h", "*.m"]),
("objcpp", &["*.h", "*.mm"]),
("ocaml", &["*.ml", "*.mli", "*.mll", "*.mly"]),
("org", &["*.org"]),
("org", &["*.org", "*.org_archive"]),
("pascal", &["*.pas", "*.dpr", "*.lpr", "*.pp", "*.inc"]),
("perl", &["*.perl", "*.pl", "*.PL", "*.plh", "*.plx", "*.pm", "*.t"]),
("pdf", &["*.pdf"]),
Expand Down

0 comments on commit e76807b

Please sign in to comment.