Commit Graph

1105 Commits

Author SHA1 Message Date
Joshua Peek
db95ca0d75 Sort php extensions 2011-07-25 10:15:35 -05:00
Anthony Van de Gejuchte
0aca2a07b0 Add phpt as php extension 2011-07-24 14:03:48 -07:00
Joshua Peek
096a1d37a8 Not quite a programming language 2011-07-22 13:22:32 -07:00
Joshua Peek
99641fed73 Merge pull request #53 from Sharpie/patch-1
Add CMake to list of recognized languages
2011-07-22 13:21:24 -07:00
Charlie Sharpsteen
e3933fd0f2 Add Vagrantfiles to the list of Ruby filenames 2011-07-22 13:06:11 -07:00
Charlie Sharpsteen
e2f2a86190 Add CMake to list of recognized languages 2011-07-22 13:02:21 -07:00
Ben Mabey
25d05ddbc8 Add ClojureScript's new file extension to Clojure 2011-07-20 21:07:37 -05:00
Joshua Peek
18cc2b2ee1 lexers.yml disclaimer 2011-07-20 21:04:23 -05:00
Joshua Peek
a0a129b7cd Sort 2011-07-19 15:47:07 -05:00
Joshua Peek
efa5f12579 Merge pull request #50 from patso/detect-svg-and-kml
Added svg and kml to the xml extensions list.
2011-07-19 13:46:28 -07:00
Plamen Totev
0b24238110 Added svg and kml to the xml extensions list. 2011-07-19 23:42:10 +03:00
Lindsey Kuper
6143ee71e8 Lexing as 'Text only' until pygments supports Rust someday. 2011-07-17 01:04:24 -07:00
Lindsey Kuper
f2debbc687 First stab at adding support for Rust. 2011-07-15 08:55:15 -07:00
Jonathan Sterling
de96f950b3 Detect .xcworkspacedata and .xcuserstate files as generated
Xcode 4 generates more XML files than ever: update `generated?` to recognize
them as such.
2011-07-13 14:54:21 -07:00
Visgean Skeloru
9903edf3b2 + .wsgi extension - containing python code 2011-07-13 07:05:00 -07:00
Alex Zimin
8d5232be6b Merge remote-tracking branch 'forkorigin/master' into detect-nemerle-language
Conflicts:
	lib/linguist/mimes.yml
	test/test_blob.rb
2011-07-09 00:16:19 +08:00
Alex Zimin
1af6112471 Detect Nemerle language 2011-07-08 12:03:11 +08:00
Joshua Peek
e56f04bc81 Mark Matlab as programming 2011-07-07 11:06:57 -05:00
Joshua Peek
bb8244a33e Merge branch 'master' of github.com:github/linguist 2011-07-07 10:48:25 -05:00
Joshua Peek
d886722de5 Ensure scheme extensions are treated as plain text 2011-07-07 10:47:58 -05:00
Andreas Bolka
3185c66518 REBOL is a programming language
Signed-off-by: Andreas Bolka <a@bolka.at>
2011-07-06 17:39:50 +02:00
Joshua Peek
61022a3a30 Tex is markup 2011-07-06 10:20:52 -05:00
Joshua Peek
04179de2f6 Note where tests are 2011-07-06 10:18:01 -05:00
Joshua Peek
10a39fc09e Don't index python traceback 2011-07-06 10:04:46 -05:00
Joshua Peek
be58fc4f7f data type 2011-07-06 10:03:34 -05:00
Joshua Peek
86be463cd9 Mark JSON as not searchable 2011-07-06 09:58:08 -05:00
Joshua Peek
d3a3358402 Fix instance methods check on 1.9 2011-07-06 09:20:17 -05:00
Vladimir Panteleev
203326b613 Add .dpr (Delphi project) to Delphi extensions 2011-07-06 03:38:34 -07:00
softprops
29dc47dfb7 Merge branch 'master' of git://github.com/github/linguist into detect-sbt-as-scala-lang 2011-07-05 22:21:29 -04:00
softprops
3e93fe091f sbt build files 2011-07-05 22:18:16 -04:00
Joshua Peek
daf9f79e89 *Mark*up 2011-07-05 19:17:24 -07:00
Joshua Peek
8f46cd0748 Try to classify language types 2011-07-05 20:48:06 -05:00
Joshua Peek
6611f174e5 Dispatch to ambiguous language guess method 2011-07-05 20:11:07 -05:00
Joshua Peek
32dfa5a2dd .h is ambiguous 2011-07-05 19:56:29 -05:00
Joshua Peek
1e453a22b5 Be explicit about ambiguous extensions 2011-07-05 19:51:54 -05:00
Joshua Peek
d984640546 Merge pull request #35 from github/pygments-new-lines
Preserve new lines for syntax highlighting
2011-07-05 14:47:03 -07:00
Joshua Peek
96a14e795b Merge branch 'detect-prolog' of https://github.com/tautologico/linguist into tautologico-detect-prolog
Conflicts:
	lib/linguist/blob_helper.rb
	test/test_blob.rb
2011-07-05 16:06:22 -05:00
Joshua Peek
4a18078c5d Remove duplicate .bash extension 2011-07-05 15:59:01 -05:00
Joshua Peek
93330c5be3 Preserve new lines for syntax highlighting 2011-07-05 15:50:33 -05:00
Bryce "BonzoESC" Kerley
e3d0028ff3 Added .zsh and .bash extensions to the Shell language definition. 2011-07-05 13:43:11 -07:00
Andrei Formiga
b3e7065972 Added detection for Prolog and disambiguation for .pl files 2011-07-05 17:33:28 -03:00
Rok Žlender
111ebe3c80 Identify php files by first line
Fixes #32
2011-07-05 09:43:48 -05:00
Joshua Peek
5ecc4421d7 Basic Matlab detection
Fixes #15
2011-07-05 09:34:33 -05:00
Joshua Peek
074a77e649 Allow any enum to be passed to Repository for stat collecting
Fixes #28
2011-07-02 20:54:05 -05:00
Joshua Peek
18fc137c96 Merge pull request #29 from supahgreg/addJSMextension
Added .JSM (JavaScript Module) to JavaScript's extension list.
2011-07-02 18:29:15 -07:00
Joshua Peek
aeef1d8f33 JS is minified if its average line length is greater than 100c
Fixes #27
2011-07-02 20:28:42 -05:00
Christopher Manning
fe2f26d02e Quote extension to prevent yaml from incorrectly casting the values
Fixes #26
2011-07-02 20:09:40 -05:00
supahgreg
dcb1bdba92 Added .JSM (JavaScript Module) to JavaScript's extension list. 2011-07-02 20:07:53 -05:00
Joshua Peek
7f6494be1a Simpler lexer yaml format
Fixes #25
2011-07-02 20:07:34 -05:00
Andreas Bolka
2707d1db67 Guess if .r is R or REBOL
.r is the default extension used widely for both, R and REBOL. This
patch attempts to guess if .r is a REBOL file by looking for the
following very common REBOL code fragments:

- `REBOL`
- `: func [`
- `make object! [`
- `context [`

If any of those is found in a .r file, it is identified as a REBOL file.
Otherwise the language for a .r file is R.

Signed-off-by: Andreas Bolka <a@bolka.at>
2011-06-29 01:42:50 +02:00