Explorar o código

Fix LS_COLORS 01 and 04 detection

Chet Gurevitch %!s(int64=8) %!d(string=hai) anos
pai
achega
afc9657434
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/style/lsc.rs

+ 2 - 2
src/style/lsc.rs

@@ -52,8 +52,8 @@ impl<'var> Pair<'var> {
             match num {
 
                 // Bold and italic
-                "1"  => style = style.bold(),
-                "4"  => style = style.underline(),
+                "1" | "01" => style = style.bold(),
+                "4" | "04" => style = style.underline(),
 
                 // Foreground colours
                 "30" => style = style.fg(Black),