diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-07-17 18:49:55 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-08-01 11:35:50 -0400 |
commit | cd7953c176c2bc71b34cc2aaa1618f6ab208538f (patch) | |
tree | 9571d07e3a9f5015b58afd4abb884f59e6157067 /src/git_config_entry.rs | |
parent | 27dec271018c589ba1119a180158903b9dba8c64 (diff) |
Initial implementation of color-moved support
- Inspect the raw hunk line
- If it does not appear to be a standard minus/plus line, treat it as moved
- Apply special delta color-moved-* styles
Diffstat (limited to 'src/git_config_entry.rs')
-rw-r--r-- | src/git_config_entry.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/git_config_entry.rs b/src/git_config_entry.rs index f6a59400..2764e2bd 100644 --- a/src/git_config_entry.rs +++ b/src/git_config_entry.rs @@ -6,11 +6,10 @@ use lazy_static::lazy_static; use regex::Regex; use crate::errors::*; -use crate::style::Style; #[derive(Clone, Debug)] pub enum GitConfigEntry { - Style(Style), + Style(String), GitRemote(GitRemoteRepo), Path(PathBuf), } |