diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2014-07-24 00:07:01 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2014-07-24 00:07:25 +0800 |
commit | 4b0870d0dfe210c022f574c22eb545c428e05364 (patch) | |
tree | d719111020ed05467275c4ffd2839896f099010d | |
parent | 25e8551e737d95ff4c00969ee24cb19fd3dc2206 (diff) | |
download | configfile-4b0870d0dfe210c022f574c22eb545c428e05364.tar.gz configfile-4b0870d0dfe210c022f574c22eb545c428e05364.tar.zst configfile-4b0870d0dfe210c022f574c22eb545c428e05364.zip |
cgit: syntax-highlighting.sh: 加入 polkit 使用的 policy 和 rules
-rwxr-xr-x | cgit/syntax-highlighting.sh | 2 |
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 |