summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-04-01 02:24:12 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-04-01 02:25:55 +0200
commitf8fac68fd797e059aa1b84951314fc15983ee493 (patch)
treef3d6cbbf6295567dc987a74c07e1223838302c36
parentd3fc4c69472e0a90e06740ab202be1732739d9a5 (diff)
add highlight types
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rwxr-xr-xscripts/syntax-highlighting.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/syntax-highlighting.sh b/scripts/syntax-highlighting.sh
index e65caf7e6..99398a3ed 100755
--- a/scripts/syntax-highlighting.sh
+++ b/scripts/syntax-highlighting.sh
@@ -40,7 +40,7 @@ case "$1" in
*.bib) exec /usr/bin/highlight -f -I -X -S bib;;
*.bms) exec /usr/bin/highlight -f -I -X -S bms;;
*.boo) exec /usr/bin/highlight -f -I -X -S boo;;
- *.c|*.h|*.cpp) exec /usr/bin/highlight -f -I -X -S c;;
+ *.c|*.h|*.cpp|*.C|*.H) exec /usr/bin/highlight -f -I -X -S c;;
*.cb) exec /usr/bin/highlight -f -I -X -S cb;;
*.cfc) exec /usr/bin/highlight -f -I -X -S cfc;;
*.chl) exec /usr/bin/highlight -f -I -X -S chl;;
@@ -114,7 +114,7 @@ case "$1" in
*.pas) exec /usr/bin/highlight -f -I -X -S pas;;
*.php) exec /usr/bin/highlight -f -I -X -S php;;
*.pike) exec /usr/bin/highlight -f -I -X -S pike;;
- *.pl) exec /usr/bin/highlight -f -I -X -S pl;;
+ *.pl|*.perl|*.pm) exec /usr/bin/highlight -f -I -X -S pl;;
*.pl1) exec /usr/bin/highlight -f -I -X -S pl1;;
*.pov) exec /usr/bin/highlight -f -I -X -S pov;;
*.pro) exec /usr/bin/highlight -f -I -X -S pro;;