FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge in upstream changes to filetypes.conf · fabgithub/QLColorCode@0fbde69 · GitHub

Repository navigation

Commit 0fbde69

Browse files
committed
Merge in upstream changes to filetypes.conf
1 parent e81d41e commit 0fbde69

3 files changed

Lines changed: 85 additions & 29 deletions

File tree

‎Notes.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Based on highlight: http://www.andre-simon.de/index.html
22
(Was based on pygments: http://pygments.org)
33

44
When installing a new version of highlight, make sure to update the
5-
"highlight" symlink in the project dir. Also patch with
6-
highlight-2.6.6-getConfDir.diff if necessary.
5+
"highlight" symlink in the project dir. Also merge in any updates to
6+
filetypes.conf
77

88
The version is handled in the Current Project Version variable in the project.
99

‎filetypes.conf‎

Lines changed: 38 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# This file is a part of highlight, a free source code converter released under the GPL.
44
#
55
# Format: $ext(lang) = <extensions of source files>
6-
# where lang is the file name of the language definition (eg php.lang)
6+
# where lang is the file name of the language definition
77
# If there exists only one extension, you do not have to list it here.
88
# See README in the highlight directory for details.
99
#
@@ -13,38 +13,49 @@
1313

1414
# Modified by Nathan Gray <n8@n8gray.org>
1515

16-
$ext(c)=c++ cpp CPP C cxx cc h hh hxx hpp H HPP pch cp pch++
17-
$ext(php)=php3 php4
18-
$ext(vb)=bas basic bi vbs
19-
$ext(pl)=perl cgi pm plx plex
20-
$ext(rb)=ruby rjs
21-
$ext(cob)=cobol
22-
$ext(sh)=bash command
23-
#$ext(sh)=bash
24-
$ext(f77)=f F for ftn
16+
$ext(ada)=adb ads a gnad
17+
$ext(ampl)=dat run
18+
$ext(amtrix)=s4 s4t s4h hnd t4
19+
$ext(asm)=a51 29k 68s 68x x68
20+
$ext(asp)=asa
21+
$ext(ats)=dats
22+
$ext(aspect)=was wud
23+
$ext(bat)=cmd
24+
$ext(c)=c++ cpp cxx cc h hh hxx hpp pch cp pch++
25+
$ext(cfc)=cfm
26+
$ext(cob)=cbl
27+
$ext(diff)=patch
28+
$ext(e)=se
29+
$ext(erl)=hrl
30+
$ext(euphoria)=ex exw exu ew eu
31+
$ext(f77)=f for ftn
2532
$ext(f90)=f95
26-
$ext(xml)=html htm xhtml sgm sgml nrm ent hdr hub dtd wml vxml wml tld svg xsl jnlp ecf rhtml erb
33+
$ext(haskell)=hs icl
34+
$ext(java)=groovy grv
35+
$ext(lisp)=asd cl clisp el lsp sbcl
2736
$ext(make)=mak mk
28-
$ext(amtrix)=S4 S4T S4H HND T4
29-
$ext(euphoria)=ex exw exu ew eu
30-
$ext(aspect)=was wud
31-
$ext(pl1)=ff fp fpp rpp sf sp spb spp sps wp wf wpp wps wpb bdy spe
32-
$ext(pike)=pmod
37+
$ext(mib)=smi
38+
$ext(ml)=mli ocaml mll mly
3339
$ext(mod3)=mod m3 i3 ig mg
40+
$ext(oberon)=ooc
41+
$ext(objc)=mm
42+
$ext(php)=php3 php4 php5 php6
43+
$ext(pike)=pmod
44+
$ext(pl1)=ff fp fpp rpp sf sp spb spp sps wp wf wpp wps wpb bdy spe
45+
$ext(pl)=perl cgi pm plx plex
46+
$ext(progress)=p i w
47+
$ext(rb)=ruby pp rjs
3448
$ext(rexx)=rex rx the
35-
$ext(ada)=adb ads a
36-
$ext(ampl)=dat run
49+
$ext(sh)=bash ebuild eclass command
50+
$ext(smalltalk)=st gst sq
3751
$ext(sybase)=sp
38-
$ext(ml)=mli mll mly
39-
$ext(haskell)=hs
40-
$ext(cfc)=cfm
41-
$ext(mib)=smi
42-
$ext(progress)=p i w
43-
$ext(bat)=cmd
44-
$ext(diff)=patch
45-
$ext(objc)=mm
52+
$ext(tcl)=wish itcl
53+
$ext(tex)=sty cls
54+
$ext(vb)=bas basic bi vbs
4655
$ext(verilog)=v
47-
$ext(lisp)=lsp asd el
56+
$ext(html)=htm xhtml
57+
$ext(xml)=sgm sgml nrm ent hdr hub dtd wml vxml wml tld svg xsl ecf jnlp
58+
$ext(fs)=fsx
4859

4960
# Input file recognition
5061
# Highlight matches the first input line with the listed expressions.

‎filetypes.conf.patch‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
--- highlight/filetypes.conf 2009-09-07 13:33:02.000000000 -0700
2+
+++ filetypes.conf 2009-09-19 23:34:53.000000000 -0700
3+
@@ -11,6 +11,8 @@
4+
# andre.simon1@gmx.de
5+
# http:/www.andre-simon.de/
6+
7+
+# Modified by Nathan Gray <n8@n8gray.org>
8+
+
9+
$ext(ada)=adb ads a gnad
10+
$ext(ampl)=dat run
11+
$ext(amtrix)=s4 s4t s4h hnd t4
12+
@@ -19,7 +21,7 @@
13+
$ext(ats)=dats
14+
$ext(aspect)=was wud
15+
$ext(bat)=cmd
16+
-$ext(c)=c++ cpp cxx cc h hh hxx hpp
17+
+$ext(c)=c++ cpp cxx cc h hh hxx hpp pch cp pch++
18+
$ext(cfc)=cfm
19+
$ext(cob)=cbl
20+
$ext(diff)=patch
21+
@@ -30,12 +32,13 @@
22+
$ext(f90)=f95
23+
$ext(haskell)=hs icl
24+
$ext(java)=groovy grv
25+
-$ext(lisp)=cl clisp el lsp sbcl
26+
+$ext(lisp)=asd cl clisp el lsp sbcl
27+
$ext(make)=mak mk
28+
$ext(mib)=smi
29+
-$ext(ml)=mli ocaml
30+
+$ext(ml)=mli ocaml mll mly
31+
$ext(mod3)=mod m3 i3 ig mg
32+
$ext(oberon)=ooc
33+
+$ext(objc)=mm
34+
$ext(php)=php3 php4 php5 php6
35+
$ext(pike)=pmod
36+
$ext(pl1)=ff fp fpp rpp sf sp spb spp sps wp wf wpp wps wpb bdy spe
37+
@@ -43,7 +46,7 @@
38+
$ext(progress)=p i w
39+
$ext(rb)=ruby pp rjs
40+
$ext(rexx)=rex rx the
41+
-$ext(sh)=bash ebuild eclass
42+
+$ext(sh)=bash ebuild eclass command
43+
$ext(smalltalk)=st gst sq
44+
$ext(sybase)=sp
45+
$ext(tcl)=wish itcl

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL