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:
@@ -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 \
|
||||||
|
154
lib/highlightjs/highlight.min.js
vendored
154
lib/highlightjs/highlight.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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',
|
||||||
|
Reference in New Issue
Block a user