@@ -270,16 +270,15 @@ sub evaluate_uri {
270
270
our %highlight_ext = (
271
271
# main extensions, defining name of syntax;
272
272
# see files in /usr/share/highlight/langDefs/ directory
273
- map { $_ => $_ }
274
- qw( py c cpp rb java css php sh pl js tex bib xml awk bat ini spec tcl sql make) ,
273
+ (map { $_ => $_ } qw( py rb java css js tex bib xml awk bat ini spec tcl sql) ),
275
274
# alternate extensions, see /etc/highlight/filetypes.conf
276
- ' h ' => ' c' ,
277
- map { $_ => ' sh' } qw( bash zsh ksh) ,
278
- map { $_ => ' cpp' } qw( cxx c++ cc) ,
279
- map { $_ => ' php' } qw( php3 php4 php5 phps) ,
280
- map { $_ => ' pl' } qw( perl pm) , # perhaps also 'cgi'
281
- map { $_ => ' make' } qw( mak mk) ,
282
- map { $_ => ' xml' } qw( xhtml html htm) ,
275
+ ( map { $_ => ' c' } qw( c h ) ) ,
276
+ ( map { $_ => ' sh' } qw( sh bash zsh ksh) ),
277
+ ( map { $_ => ' cpp' } qw( cpp cxx c++ cc) ),
278
+ ( map { $_ => ' php' } qw( php php3 php4 php5 phps) ),
279
+ ( map { $_ => ' pl' } qw( pl perl pm) ), # perhaps also 'cgi'
280
+ ( map { $_ => ' make' } qw( make mak mk) ),
281
+ ( map { $_ => ' xml' } qw( xml xhtml html htm) ),
283
282
);
284
283
285
284
# You define site-wide feature defaults here; override them with
0 commit comments