summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/colorschemes/default.py3
-rw-r--r--ranger/gui/widgets/__init__.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py
index 6f6040ba..a391f03c 100644
--- a/ranger/colorschemes/default.py
+++ b/ranger/colorschemes/default.py
@@ -145,6 +145,7 @@ class Default(ColorScheme):
                 fg = blue
             elif context.vcsdiverged:
                 fg = magenta
-
+            elif context.vcsunknown:
+                fg = red
 
         return fg, bg, attr
diff --git a/ranger/gui/widgets/__init__.py b/ranger/gui/widgets/__init__.py
index 3d0899bb..4a9ca599 100644
--- a/ranger/gui/widgets/__init__.py
+++ b/ranger/gui/widgets/__init__.py
@@ -21,4 +21,5 @@ class Widget(Displayable):
                 'sync':     ('=', ["vcssync"]),
                 'behind':   ('<', ["vcsbehind"]),
                 'ahead':    ('>', ["vcsahead"]),
-                'diverged': ('Y', ["vcsdiverged"])}
+                'diverged': ('Y', ["vcsdiverged"]),
+                'unknown':  ('?', ["vcsunknown"])}