aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcgit/syntax-highlighting.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit/syntax-highlighting.sh b/cgit/syntax-highlighting.sh
index 6d8aff6..b24cf15 100755
--- a/cgit/syntax-highlighting.sh
+++ b/cgit/syntax-highlighting.sh
@@ -22,6 +22,7 @@ case "${EXTENSION}" in
ui|glade*) EXTENSION=xml ;; # Glade
page) EXTENSION=xml ;; # Mallard
*proj|*props) EXTENSION=xml ;; # MS Visual Studio
+ policy) EXTENSION=xml ;; # polkit
doap) EXTENSION=xml ;; # project description
client) EXTENSION=xml ;; # Telepathy
rdf|omf) EXTENSION=xml ;;
@@ -38,6 +39,7 @@ case "${EXTENSION}" in
p) EXTENSION=c ;; # MapleBBS
xpm) EXTENSION=c ;;
s) EXTENSION=asm ;;
+ rules) EXTENSION=js ;; # polkit
json) EXTENSION=js ;;
ru) EXTENSION=rb ;; # config.ru
esac