forked from n8gray/QLColorCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfiletypes.conf
More file actions
56 lines (52 loc) · 1.62 KB
/
Copy pathfiletypes.conf
File metadata and controls
56 lines (52 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# List of extensions
# ------------------------------------------
# This file is a part of highlight, a free source code converter released under the GPL.
#
# Format: $ext(lang) = <extensions of source files>
# where lang is the file name of the language definition (eg php.lang)
# If there exists only one extension, you do not have to list it here.
# See README in the highlight directory for details.
#
# ----------
# andre.simon1@gmx.de
# http:/www.andre-simon.de/
# Modified by Nathan Gray <n8@n8gray.org>
$ext(c)=c++ cpp CPP C cxx cc h hh hxx hpp H HPP pch cp pch++
$ext(php)=php3 php4
$ext(vb)=bas basic bi vbs
$ext(pl)=perl cgi pm plx plex
$ext(rb)=ruby rjs
$ext(cob)=cobol
$ext(sh)=bash command
#$ext(sh)=bash
$ext(f77)=f F for ftn
$ext(f90)=f95
$ext(xml)=html htm xhtml sgm sgml nrm ent hdr hub dtd wml vxml wml tld svg xsl jnlp ecf rhtml erb
$ext(make)=mak mk
$ext(amtrix)=S4 S4T S4H HND T4
$ext(euphoria)=ex exw exu ew eu
$ext(aspect)=was wud
$ext(pl1)=ff fp fpp rpp sf sp spb spp sps wp wf wpp wps wpb bdy spe
$ext(pike)=pmod
$ext(mod3)=mod m3 i3 ig mg
$ext(rexx)=rex rx the
$ext(ada)=adb ads a
$ext(ampl)=dat run
$ext(sybase)=sp
$ext(ml)=mli mll mly
$ext(haskell)=hs
$ext(cfc)=cfm
$ext(mib)=smi
$ext(progress)=p i w
$ext(bat)=cmd
$ext(diff)=patch
$ext(objc)=mm
$ext(verilog)=v
$ext(lisp)=lsp asd el
# Input file recognition
# Highlight matches the first input line with the listed expressions.
# Format: $shebang(lang) = <regex>
$shebang(sh)=^#!(\/usr)?(\/local)?\/bin\/(bash|t?csh|[akz]?sh)
$shebang(pl)=^#!(\/usr)?(\/local)?\/bin\/perl
$shebang(py)=^#!(\/usr)?(\/local)?\/bin\/python
$shebang(awk)=^#!(\/usr)?(\/local)?\/bin\/[gn]?awk