PolyGerrit: Add support for php and shell in highlight

shell is a common languge + php is used alot downstream.

Change-Id: I419bdee569d5763b03414f7527ede3b7aefc4ae7
This commit is contained in:
Paladox none
2017-07-12 14:53:03 +00:00
parent fdfd7ebce3
commit f4e0308f0c
3 changed files with 83 additions and 75 deletions

View File

@@ -42,11 +42,13 @@ languages included. Build it with the following:
objectivec \ objectivec \
ocaml \ ocaml \
perl \ perl \
php \
protobuf \ protobuf \
python \ python \
ruby \ ruby \
rust \ rust \
scala \ scala \
shell \
sql \ sql \
swift \ swift \
typescript \ typescript \

File diff suppressed because one or more lines are too long

View File

@@ -37,11 +37,13 @@
'text/x-objectivec': 'objectivec', 'text/x-objectivec': 'objectivec',
'text/x-ocaml': 'ocaml', 'text/x-ocaml': 'ocaml',
'text/x-perl': 'perl', 'text/x-perl': 'perl',
'text/x-php': 'php',
'text/x-protobuf': 'protobuf', 'text/x-protobuf': 'protobuf',
'text/x-python': 'python', 'text/x-python': 'python',
'text/x-ruby': 'ruby', 'text/x-ruby': 'ruby',
'text/x-rustsrc': 'rust', 'text/x-rustsrc': 'rust',
'text/x-scala': 'scala', 'text/x-scala': 'scala',
'text/x-shell': 'shell',
'text/x-sh': 'bash', 'text/x-sh': 'bash',
'text/x-sql': 'sql', 'text/x-sql': 'sql',
'text/x-swift': 'swift', 'text/x-swift': 'swift',