From 42b9a5802e8f41f097a95a2ad6725d9df7bf9152 Mon Sep 17 00:00:00 2001 From: Sudhip Nashi Date: Thu, 15 Oct 2020 15:38:38 -0500 Subject: [PATCH] Add extra coloring --- src/info/filetype.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/info/filetype.rs b/src/info/filetype.rs index 56fa8c4..21a84a7 100644 --- a/src/info/filetype.rs +++ b/src/info/filetype.rs @@ -26,7 +26,7 @@ impl FileExtensions { "Makefile", "Cargo.toml", "SConstruct", "CMakeLists.txt", "build.gradle", "pom.xml", "Rakefile", "package.json", "Gruntfile.js", "Gruntfile.coffee", "BUILD", "BUILD.bazel", "WORKSPACE", "build.xml", - "webpack.config.js", "meson.build", "composer.json", "RoboFile.php", + "webpack.config.js", "meson.build", "composer.json", "RoboFile.php", "PKGBUILD", ]) } @@ -35,14 +35,14 @@ impl FileExtensions { "png", "jpeg", "jpg", "gif", "bmp", "tiff", "tif", "ppm", "pgm", "pbm", "pnm", "webp", "raw", "arw", "svg", "stl", "eps", "dvi", "ps", "cbr", "jpf", - "cbz", "xpm", "ico", "cr2", "orf", "nef", + "cbz", "xpm", "ico", "cr2", "orf", "nef", "heif", ]) } fn is_video(&self, file: &File<'_>) -> bool { file.extension_is_one_of( &[ "avi", "flv", "m2v", "m4v", "mkv", "mov", "mp4", "mpeg", - "mpg", "ogm", "ogv", "vob", "wmv", "webm", "m2ts", + "mpg", "ogm", "ogv", "vob", "wmv", "webm", "m2ts", "heic", ]) }