Permalink
Browse files

add cpp as suggested in issue #16

  • Loading branch information...
seebi committed Sep 27, 2012
1 parent 488f857 commit 18385b1236c2db45e9089c1388fc0801cd869d3b
Showing with 6 additions and 0 deletions.
  1. +3 −0 dircolors.256dark
  2. +1 −0 dircolors.ansi-dark
  3. +1 −0 dircolors.ansi-light
  4. +1 −0 dircolors.ansi-universal
View
@@ -188,6 +188,9 @@ EXEC 01;38;5;64
*yml 01;38;5;245
*cfg 01;38;5;245
*conf 01;38;5;245
+*c 01;38;5;245
+*cpp 01;38;5;245
+*cc 01;38;5;245
# "unimportant" files as logs and backups (base01)
.log 00;38;5;240
View
@@ -192,6 +192,7 @@ EXEC 01;31 # Unix
.c 32
.C 32
.cc 32
+.cpp 32
.cxx 32
.objc 32
.sh 32
View
@@ -192,6 +192,7 @@ EXEC 01;31 # Unix
.c 32
.C 32
.cc 32
+.cpp 32
.cxx 32
.objc 32
.sh 32
View
@@ -191,6 +191,7 @@ EXEC 01;31 # Unix
.c 32
.C 32
.cc 32
+.cpp 32
.cxx 32
.objc 32
.sh 32

5 comments on commit 18385b1

Contributor

blueyed replied Oct 1, 2012

Why is globbing used with dircolors.256dark, but not the others - shouldn't it be e.g. ".cpp" instead of "*cpp" here, too?
(this also applies to other extensions in this patch / section)

Owner

seebi replied Oct 1, 2012

dont know that

I've created only dircolors.256dark, the other files are contributions to the repository and I've never tested them ...

Contributor

blueyed replied Oct 1, 2012

*cpp would also highlight foocpp, but it should only affect foo.cpp.

In case extensions are meant, .ext appears to be the way to go.

Contributor

blueyed replied Oct 1, 2012

I have sent you a pull request for this: #17

Owner

seebi replied Oct 2, 2012

ok, merged. thanks

Please sign in to comment.