Commit Graph

2065 Commits

Author SHA1 Message Date
Brahn Partridge 20204cd9fc fix test_pedantic failure 2014-11-26 15:01:25 +01:00
Brahn Partridge 3445e55744 additional samples and fixed extensions list 2014-11-26 14:51:47 +01:00
Brahn Partridge ce928d8b64 Add support for the Clarion language 2014-11-24 11:30:25 +01:00
Arfon Smith b556425037 Reordering 2014-11-21 13:10:45 -06:00
Arfon Smith 6131d17c02 Merge pull request #1748 from mrego/xht-extension
Add support for .xht extension which is used in some XHTML files
2014-11-21 12:48:58 -06:00
Adam Roben 4ce9048f8d Bump version to 4.0.3 2014-11-21 11:56:17 -05:00
Adam Roben 04f1b1df48 Merge pull request #1756 from github/test-for-grammars
Test that all languages have grammars
2014-11-21 11:54:46 -05:00
Adam Roben f9c36345c3 Add some docs for tm_scope 2014-11-21 11:53:52 -05:00
Adam Roben ec3967d080 Change NONE to none
NONE is a little shouty.
2014-11-21 11:52:29 -05:00
Arfon Smith 05a88b5b7e Merge pull request #1754 from github/chart-js
Chart js
2014-11-21 09:30:20 -06:00
Adam Roben 49247e9ec2 Test that all languages have grammars
This will make CI fail if someone adds a new language but neglects to
add a new grammar for it. This should make it easier for people to
review PRs, as CI will help them to make sure a new grammar gets added.

However, we currently support some languages that have no grammars, and
we may support more in the future. So you can explicitly mark the
language as having no grammar by setting `tm_scope: NONE` in
languages.yml.
2014-11-21 09:48:52 -05:00
Adam Roben e702b453ec Fix RHTML's tm_scope
I missed this back in 9595e2ba7e.
2014-11-21 09:29:06 -05:00
Arfon Smith 38190d92fc Chart JS is vendored 2014-11-21 08:24:33 -06: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
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
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
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