Skip to content

Commit 7ebee28

Browse files
committed
Added support for .cs, .el, .jnlp (xml), .e (eiffel), and .vb
1 parent a2eecd4 commit 7ebee28

4 files changed

Lines changed: 97 additions & 3 deletions

File tree

‎ChangeLog.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
portion of renderer, with default UTF-8.
44
* Added support for "webkitTextEncoding" option to set encoding for webkit
55
portion of renderer, with default UTF-8.
6-
6+
* Added support for .cs, .el, .jnlp (xml), .e (eiffel), and .vb
77
XXX: enabled plain-text handling!
88

99
1.0:

‎Info.plist‎

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@
390390
<string>lisp</string>
391391
<string>lsp</string>
392392
<string>asd</string>
393+
<string>el</string>
393394
</array>
394395
</dict>
395396
</dict>
@@ -461,6 +462,95 @@
461462
</array>
462463
</dict>
463464
</dict>
465+
<dict>
466+
<key>UTTypeIdentifier</key>
467+
<string>org.n8gray.javaInstaller</string>
468+
<key>UTTypeDescription</key>
469+
<string>Java Web Installer (XML)</string>
470+
<key>UTTypeConformsTo</key>
471+
<array>
472+
<string>public.xml</string>
473+
</array>
474+
<key>UTTypeTagSpecification</key>
475+
<dict>
476+
<key>public.filename-extension</key>
477+
<array>
478+
<string>jnlp</string>
479+
</array>
480+
</dict>
481+
</dict>
482+
<dict>
483+
<key>UTTypeConformsTo</key>
484+
<array>
485+
<string>public.source-code</string>
486+
</array>
487+
<key>UTTypeDescription</key>
488+
<string>Eiffel source code file</string>
489+
<key>UTTypeIdentifier</key>
490+
<string>com.eiffel.source-code</string>
491+
<key>UTTypeTagSpecification</key>
492+
<dict>
493+
<key>public.filename-extension</key>
494+
<array>
495+
<string>e</string>
496+
</array>
497+
</dict>
498+
</dict>
499+
<dict>
500+
<key>UTTypeConformsTo</key>
501+
<array>
502+
<string>public.xml</string>
503+
</array>
504+
<key>UTTypeDescription</key>
505+
<string>EiffelStudio project configuration file</string>
506+
<key>UTTypeIdentifier</key>
507+
<string>com.eiffel.eiffelstudio-project-config</string>
508+
<key>UTTypeTagSpecification</key>
509+
<dict>
510+
<key>public.filename-extension</key>
511+
<array>
512+
<string>ecf</string>
513+
</array>
514+
</dict>
515+
</dict>
516+
<dict>
517+
<key>UTTypeConformsTo</key>
518+
<array>
519+
<string>public.source-code</string>
520+
</array>
521+
<key>UTTypeDescription</key>
522+
<string>C# Source File</string>
523+
<key>UTTypeIdentifier</key>
524+
<string>com.microsoft.csharp-source</string>
525+
<key>UTTypeReferenceURL</key>
526+
<string>http://www.microsoft.com/</string>
527+
<key>UTTypeTagSpecification</key>
528+
<dict>
529+
<key>public.filename-extension</key>
530+
<array>
531+
<string>cs</string>
532+
</array>
533+
</dict>
534+
</dict>
535+
<dict>
536+
<key>UTTypeConformsTo</key>
537+
<array>
538+
<string>public.source-code</string>
539+
</array>
540+
<key>UTTypeDescription</key>
541+
<string>Visual Basic Source File</string>
542+
<key>UTTypeIdentifier</key>
543+
<string>com.microsoft.vb-source</string>
544+
<key>UTTypeReferenceURL</key>
545+
<string>http://www.microsoft.com/</string>
546+
<key>UTTypeTagSpecification</key>
547+
<dict>
548+
<key>public.filename-extension</key>
549+
<array>
550+
<string>vb</string>
551+
</array>
552+
</dict>
553+
</dict>
464554
<!-- This is for testing the behavior when highlight fails -->
465555
<dict>
466556
<key>UTTypeIdentifier</key>

‎ReadMe.txt‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ missed your favorite language, take a look at the Info.plist file inside the
7272
plugin bundle and look for the UTImportedTypeDeclarations section. I
7373
haven't added all the languages that Highlight can handle because it's rumored
7474
that having two conflicting UTI declarations for the same file extension can
75-
cause problems.
75+
cause problems. Note that if you do edit the Info.plist file you need to
76+
nudge the system to tell it something has changed. Moving the plugin to the
77+
desktop then back to its installed location should do the trick.
7678

7779
To build from source, you need the Highlight library. Download the source and
7880
uncompress it somewhere, then make a symbolic link to that location from

‎filetypes.conf‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $ext(sh)=bash command
2323
#$ext(sh)=bash
2424
$ext(f77)=f F for ftn
2525
$ext(f90)=f95
26-
$ext(xml)=html htm xhtml sgm sgml nrm ent hdr hub dtd wml vxml wml tld svg xsl
26+
$ext(xml)=html htm xhtml sgm sgml nrm ent hdr hub dtd wml vxml wml tld svg xsl jnlp ecf
2727
$ext(make)=mak mk
2828
$ext(amtrix)=S4 S4T S4H HND T4
2929
$ext(euphoria)=ex exw exu ew eu
@@ -43,6 +43,8 @@ $ext(progress)=p i w
4343
$ext(bat)=cmd
4444
$ext(diff)=patch
4545
$ext(objc)=mm
46+
$ext(verilog)=v
47+
$ext(lisp)=lsp asd el
4648

4749
# Input file recognition
4850
# Highlight matches the first input line with the listed expressions.

0 commit comments

Comments
 (0)