Dimitri Kennedy
2352ce77c9
put cjsx at the top
2014-11-20 17:38:38 -05:00
Adam Roben
2054afc741
Use a SQF grammar for SQF files
...
This produces better highlighting than using the C++ grammar.
The grammar is licensed under the Apache 2.0 license.
2014-11-20 17:22:55 -05:00
Dimitri Kennedy
9d3b9964b5
move cjsx before iced
2014-11-20 17:08:21 -05:00
Dimitri Kennedy
79c1d21a0f
move cjsx before iced
2014-11-20 17:08:10 -05:00
Dimitri Kennedy
a17f6c8ae1
add .cjsx extension for Facebook’s JSX in coffescript
2014-11-20 14:56:09 -05:00
Brandon Keepers
9823af0cb4
Fix for shebang with relative bin
...
`#!/usr/bin/env bin/linguist` is a valid shebang
2014-11-20 12:50:35 -05:00
Brandon Keepers
45384bd498
More missing interpreters
2014-11-20 12:29:16 -05:00
Brandon Keepers
56bfde998b
Only strip minor version off of interpreters
...
This used to turn `python2.4` into `python`, which causes trouble with
`perl6`, which is a different language definition.
2014-11-20 12:28:30 -05:00
Brandon Keepers
870feb8592
Add missing interpreters
2014-11-20 11:27:54 -05:00
Brandon Keepers
eccea65641
Fix for interpreters not getting add to samples.json
2014-11-20 11:14:05 -05:00
Florian Kaiser
9658b02502
add Chart.js as vendor
...
http://www.chartjs.org
2014-11-20 10:02:45 +01:00
Manuel Rego Casasnovas
b44e58dd7f
Add support for .xht extension which is used in some XHTML files
2014-11-19 23:08:51 +01:00
Adam Roben
011c654c2a
Bump version to v4.0.2
2014-11-19 12:08:49 -05:00
Martín Gaitán
fb7dcfd62d
Exclude codemirror
...
An example of a wrong detection due to codemirror is my project. https://github.com/mgaitan/waliki
2014-11-18 20:17:15 -03:00
Brandon Keepers
719f6e876b
Merge pull request #1732 from github/filename-matches-multiple-langages
...
Require samples if filename matches multiple languages
2014-11-18 16:31:19 -05:00
Brandon Keepers
d7fd12cb32
Remove deprecated method
2014-11-18 15:19:23 -05:00
Brandon Keepers
850ab6dedb
#all_extensions already includes primary extension
2014-11-18 15:10:07 -05:00
Brandon Keepers
ac59620728
Remove blank extensions property
2014-11-18 14:48:43 -05:00
Lars Brinkhoff
03c1e725ce
Add Forth extensions .f and .for; add heuristics for Forth and FORTRAN.
2014-11-18 20:21:19 +01:00
Brandon Keepers
757801e32f
Merge remote-tracking branch 'origin/master' into filename-matches-multiple-langages
...
* origin/master:
Allow mime-types 2.x to be used with Linguist
Upgrade to rugged 0.22.0b1
Mention that languages need to be quite popular
fix vendor/cache
Gemfile.lock is nolonger considered generated
Tests for BlobHelper#empty?
remove reference to empty.js
Remove more empty samples
Bail earlier if the file is empty.
Moving comments
Use heuristics earlier to inform the rest of the classification process
Removing inconsistency of `find_by_heuristics` (was sometimes returning nil and sometimes returning and empty array)
Removing unused array of candidate languages.
Reworking most heuristics to only return one match
2014-11-18 14:09:15 -05:00
Arfon Smith
0443c4db2d
Merge pull request #1674 from github/rework-heuristics
...
Rework heuristics
2014-11-18 10:43:01 -06:00
Brandon Keepers
cd7549390e
Extensions aren't actually required
2014-11-17 20:00:09 -05:00
Paul Chaignon
1356d4e579
Remove heuristic rules for .mm files
2014-11-17 19:20:45 -05:00
Brandon Keepers
63c83d014b
Fix errors from pedantic test
2014-11-17 18:53:14 -05:00
Arfon Smith
c5344da2ba
Removing extensions when they should be filenames
2014-11-17 16:44:39 -06:00
Arfon Smith
7d850d7c09
Gemfile.lock is nolonger considered generated
2014-11-17 16:31:47 -06:00
Brandon Keepers
6c106b88c0
Avoid using singular #extension
2014-11-17 15:47:21 -05:00
Brandon Keepers
c46667581d
Use the first extension with languages defined
2014-11-17 15:15:39 -05:00
Brandon Keepers
3ca872cea8
Support for multiple file extension segments
2014-11-17 14:54:22 -05:00
Adam Roben
970953ca12
Merge pull request #1727 from pchaigno/lexer-inform7
...
Lexer for Inform 7
2014-11-17 14:45:46 -05:00
Vicent Marti
7cf6372519
Version 4.0.1
2014-11-17 18:09:26 +01:00
Paul Chaignon
1d381233e0
Update tm_scope to match case used in Sublime-Inform
2014-11-17 11:19:23 -05:00
Paul Chaignon
40887930f9
Lexer for Inform 7
2014-11-17 09:41:35 -05:00
Paul Chaignon
81089416a2
Makefile set to programming type
2014-11-16 23:13:31 -05:00
Vicent Marti
9b9fadfa19
Use a Racket grammar for Racket
2014-11-16 13:47:19 +01:00
Vicent Marti
f0bd24f810
DOT was already a thing
2014-11-14 19:20:47 +01:00
Vicent Marti
6b3ba29558
Reindent
2014-11-14 19:11:11 +01:00
Vicent Marti
9e28965259
Rename Dockerfile
2014-11-14 19:04:11 +01:00
Vicent Marti
3fc01d09ce
Hah Parrot was already a thing
2014-11-14 19:00:21 +01:00
Vicent Marti
a4ae90e2e9
Add Thrift
2014-11-14 18:58:30 +01:00
Vicent Marti
4928828874
Add Ninja
2014-11-14 18:56:34 +01:00
Vicent Marti
af90ac3758
add Maven buildfiles
2014-11-14 18:54:27 +01:00
Vicent Marti
d4e6798ba8
add Graphviz
2014-11-14 18:48:19 +01:00
Vicent Marti
03b250990d
Add Cap'n Proto
2014-11-14 18:46:16 +01:00
Vicent Marti
5bc0ce0888
Add Bison
2014-11-14 18:44:12 +01:00
Vicent Marti
a0bbf7df6f
Add Ant
2014-11-14 18:41:36 +01:00
Vicent Marti
6b90f22cef
Add Parrot IR
2014-11-14 18:37:54 +01:00
Vicent Marti
d290576543
Add Docker Files as a language
2014-11-14 18:16:51 +01:00
Vicent Marti
b40459335b
...actually... This is 4.0.0 because of breaking changes
2014-11-14 17:38:39 +01:00
Vicent Marti
51b16ca965
oops
2014-11-14 17:37:12 +01:00