From a16a48b640d9953a704da5a4a3f8ae80b83e6b8a Mon Sep 17 00:00:00 2001 From: Dennis Frostlander Date: Thu, 3 Jun 2021 09:29:23 +0200 Subject: [PATCH 1/3] Add basic programmer's colors Coloring the files which programmers are often dealing with: - Source code files for popular languages - Common binary and installable files --- src/dir_colors | 60 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/src/dir_colors b/src/dir_colors index 658e5b7..daf065a 100644 --- a/src/dir_colors +++ b/src/dir_colors @@ -2,7 +2,7 @@ # Copyright (C) 2017-present Sven Greb # Project: Nord dircolors -# Version: 0.2.0 +# Version: 0.3.0 # Repository: https://github.com/arcticicestudio/nord-dircolors # License: MIT @@ -180,6 +180,15 @@ STICKY 04;37;44 .exe 01;36 .reg 01;36 +#+--- Installable or indirectly executable files ---+ +.woff 36 +.woff2 36 +.eot 36 +.otf 36 +.ttf 36 +.jar 36 +.apk 36 + #+--- Ignores ---+ *~ 02;37 .bak 02;37 @@ -193,6 +202,11 @@ STICKY 04;37;44 .swo 02;37 .swp 02;37 +#+--- Binary files ---+ +.dll 02;37 +.so 02;37 +.o 02;37 + #+--- Images ---+ .bmp 32 .cgm 32 @@ -254,3 +268,47 @@ STICKY 04;37;44 .vob 32 .webm 32 .wmv 32 + +#+--- Source code files ---+ +.cc 32 +.cpp 32 +.h 32 +.cs 32 +.fs 32 +.rs 32 +.go 32 +.js 32 +.jsx 32 +.ts 32 +.tsx 32 +.lua 32 +.java 32 +.scala 32 +.py 32 +.m 32 +.swift 32 + +#+--- Project-like files with source code ---+ +.htm 31 +.html 31 +.pug 31 +.csproj 31 +.vcxproj 31 +.sln 31 + +#+--- Text and configuration files ---+ +.csv 33 +.json 33 +.md 33 +.txt 33 +.xml 33 +.yaml 33 +.yml 33 +.toml 33 +.nuspec 33 # NuGet specification + +#+--- Stylesheets ---+ +.css 35 +.scss 35 +.sass 35 +.less 35 From 9302b1ba1866715f73ba0da8d96b0a5f5dbd5131 Mon Sep 17 00:00:00 2001 From: Dennis Frostlander Date: Thu, 3 Jun 2021 09:31:01 +0200 Subject: [PATCH 2/3] Small fixes --- src/dir_colors | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dir_colors b/src/dir_colors index daf065a..990e4bf 100644 --- a/src/dir_colors +++ b/src/dir_colors @@ -305,7 +305,6 @@ STICKY 04;37;44 .yaml 33 .yml 33 .toml 33 -.nuspec 33 # NuGet specification #+--- Stylesheets ---+ .css 35 From ee228937122f9c9214818e4d0896a102c7c4fd74 Mon Sep 17 00:00:00 2001 From: Dennis Frostlander Date: Sat, 7 Aug 2021 00:15:31 +0200 Subject: [PATCH 3/3] Move html files to source files group --- src/dir_colors | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/dir_colors b/src/dir_colors index 990e4bf..24967ca 100644 --- a/src/dir_colors +++ b/src/dir_colors @@ -178,7 +178,10 @@ STICKY 04;37;44 .cmd 01;36 .com 01;36 .exe 01;36 +.ps1 01;36 +.psm1 01;36 .reg 01;36 +.sh 01;36 #+--- Installable or indirectly executable files ---+ .woff 36 @@ -272,34 +275,37 @@ STICKY 04;37;44 #+--- Source code files ---+ .cc 32 .cpp 32 -.h 32 .cs 32 .fs 32 -.rs 32 .go 32 +.h 32 +.htm 32 +.html 32 +.java 32 .js 32 .jsx 32 -.ts 32 -.tsx 32 .lua 32 -.java 32 -.scala 32 -.py 32 .m 32 +.pug 32 +.py 32 +.rs 32 +.scala 32 .swift 32 +.ts 32 +.tsx 32 #+--- Project-like files with source code ---+ -.htm 31 -.html 31 -.pug 31 .csproj 31 .vcxproj 31 +.sfproj 31 +.deployproj 31 .sln 31 #+--- Text and configuration files ---+ .csv 33 .json 33 .md 33 +.nuspec 33 .txt 33 .xml 33 .yaml 33