From f8fac68fd797e059aa1b84951314fc15983ee493 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 1 Apr 2010 02:24:12 +0200 Subject: add highlight types Signed-off-by: Florian Pritz --- scripts/syntax-highlighting.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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;; -- cgit v1.2.3-24-g4f1b