summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/config.rs b/src/config.rs
index d246313a..e4ccab24 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -428,16 +428,6 @@ fn make_commit_file_hunk_header_styles(opt: &cli::Opt, true_color: bool) -> (Sty
)
}
-pub fn make_navigate_regexp(config: &Config) -> String {
- format!(
- "^(commit|{}|{}|{}|{})",
- config.file_modified_label,
- config.file_added_label,
- config.file_removed_label,
- config.file_renamed_label
- )
-}
-
fn _check_validity(opt: &cli::Opt, assets: &HighlightingAssets) {
if opt.light && opt.dark {
eprintln!("--light and --dark cannot be used together.");