Commit Graph

247 Commits

Author SHA1 Message Date
Daniel Micay be42a8411b add detection for Arch Linux PKGBUILDs 2012-05-08 07:39:48 -04:00
Joshua Peek aa7c8497b1 Merge pull request #151 from aseemk/streamlinejs-support
Add ._js & ._coffee extensions for Streamline.js.
2012-05-07 19:44:14 -07:00
Joshua Peek b618539c8b Ensure ext/ dir isn't ignored 2012-05-05 21:39:41 -05:00
Vicent Martí d1297f626e Update tests accordingly 2012-04-29 16:05:30 -07:00
Joshua Peek c3d6fc5af8 Colors! 2012-04-19 17:25:16 -05:00
Ilya Grigorik cb715e2092 add fixture file for Dart 2012-04-09 14:41:01 -07:00
Ilya Grigorik a3dc9fb138 add detection for Dart 2012-04-09 14:38:43 -07:00
Patrick O'Leary 4f0b457287 Updated Julia language with lexer and added tests 2012-04-04 21:28:29 -05:00
Aseem Kishore 17adccc844 Regression fix: ensure .coffee is primary ext.
(The primary extension by default is the first extension, but the extensions
need to be in alphabetical order, and _coffee comes before coffee.)
2012-04-03 14:56:11 -04:00
Aseem Kishore 54e81dd8fb Add ._js & ._coffee extensions for Streamline.js.
Streamline.js by Bruno Jouhier (@Sage) is a library/tool that lets you write
synchronous-looking JavaScript/CoffeeScript, and have it compile to Node-style
asynchronous JavasScript/CoffeeScript. (It's amazing and super elegant.)

https://github.com/Sage/streamlinejs

From the start, Streamline was designed to be exactly JavaScript/CoffeeScript,
so that it works with existing editors and tools. No new keywords or syntax --
it simply reserves `_` as a function parameter name.

Streamline files have thus kept `.js` and `.coffee` as extensions, so that no
changes need to be made to tools; Streamline has just used the convention of
ending file basenames with `_`, like `foo_.js` or `foo_.coffee`.

Unfortunately, to get the most optimal Node.js integration, with on-the-fly
compilation (like CoffeeScript), files now need to have their own extension.
So Bruno has decided to make `._js` and `._coffee` the extensions of choice.

The good news is that the language is still exactly JavaScript/CoffeeScript;
it's only the extension that's changed. It's simple to add these extensions
into our editors, but I'm wondering if we can add this to GitHub too. =)

This change is super simple and shouldn't affect any other language, so I hope
you guys are open to it. Thanks for your consideration!
2012-04-02 19:56:28 -04:00
Joshua Peek 19f2ee40a5 New lexers in 1.5 2012-03-28 11:40:14 -05:00
Martin d'Allens dc145ff715 Set lexer for VHDL language.
Conflicts:

	test/test_blob.rb
2012-03-28 11:37:25 -05:00
Joshua Peek 791761b19f kt extension is real now 2012-03-28 11:25:36 -05:00
Joshua Peek 61d2e8c383 Merge pull request #140 from jstrachan/detect-kotlin-language
Added detection for the Kotlin language
2012-03-28 09:21:19 -07:00
Joshua Peek 39bb301a0e Merge pull request #142 from jaxzin/detect-tea
Added detection of the Tea language.
2012-03-28 09:16:40 -07:00
Joshua Peek 9d983b64b0 Fix tests 2012-03-28 11:03:22 -05:00
Joshua Peek 4c0a8b1ccf Ensure our custom mime types override mime-types lib 2012-03-28 10:22:32 -05:00
Joshua Peek bda27c8b72 Correct mime type test 2012-03-28 09:44:24 -05:00
Joshua Peek 3b7b2020d2 State Ace compatible languages 2012-03-23 13:50:29 -05:00
Abe Voelker 22db59d8c0 Improve .cls language detection 2012-03-21 11:21:55 -05:00
Brian R. Jackson a8660ea80f Added detection of the Tea language. 2012-03-19 17:36:23 -04:00
Joshua Peek 777f5a3b87 Revert "Merge pull request #129 from jaxzin/detect-tea"
This reverts commit 79f16caeb2, reversing
changes made to 087205893f.

No "Tea" lexer
2012-03-19 14:59:59 -05:00
Brian R. Jackson 26263bc288 Merging github/master 0872058 2012-03-19 15:54:24 -04:00
Joshua Peek 087205893f Fix name escaping 2012-03-19 09:35:46 -05:00
Brian R. Jackson 5357d283b4 Switch to Tea lexer which is available in Pygments 1.5. 2012-03-10 20:59:58 -05:00
James Strachan 3e1b1979ed Added detection for the Kotlin language 2012-03-05 16:10:42 +00:00
Abe Voelker d32c9e88b4 Add support for OpenEdge ABL language 2012-03-05 08:58:19 -06:00
Joshua Peek eeea42d67b Merge pull request #112 from sylvestre/master
Support of the Scilab language
2012-03-05 06:08:55 -08:00
Joshua Peek cc7205b9aa Merge pull request #122 from rankida/detect-powershell
Added Windows Powershell detection
2012-03-05 06:04:36 -08:00
Joshua Peek d80ee601ed Merge pull request #125 from abevoelker/detect-coq-language
Add detection for the Coq language - fixes #116
2012-03-05 06:03:23 -08:00
Paulo Moura 46a6f319f0 Logtalk test file 2012-03-02 21:06:02 +00:00
Paulo Moura 66496fcde5 Added detection for the new Logtalk language 2012-03-02 20:26:27 +00:00
Brian R. Jackson 842b507aca Added detection for Tea templates, see http://teatrove.org
Uses the Java Server Page lexer (closest match) until a Tea lexer is added to Pygments.
https://bitbucket.org/birkenfeld/pygments-main/pull-request/56
2012-02-25 00:55:00 -05:00
Abe Voelker daef609f5f Add detection for the Coq language - fixes #116 2012-02-17 10:50:21 -06:00
Joshua Peek 101676d90b Gemfile.locks are generated 2012-02-15 15:59:06 -06:00
David Rankin 8b3e1ce86d Added example Powershell files to the test fixtures folder 2012-02-15 19:44:14 +00:00
David Rankin 06395fa816 Added support for Powershell files (.ps1 and .psm1) using a 'Text only' lexer 2012-02-15 19:42:53 +00:00
Joshua Peek cb80982432 Revert "Merge pull request #107 from thorade/detect-modelica-language"
This reverts commit c1fc063974, reversing
changes made to c89339e036.

Conflicts:

        lib/linguist/languages.yml

Fixes #119
2012-02-15 10:11:09 -06:00
Sylvestre Ledru 5b5ae20c5e Added detection for Scilab language 2012-02-08 15:25:30 +01:00
Joshua Peek c1fc063974 Merge pull request #107 from thorade/detect-modelica-language
Added detection for Modelica language
2012-02-03 10:09:37 -08:00
Alok Menghrajani 73efe37568 Fix test fixtures for opa and add some comments. 2012-02-01 18:03:06 -08:00
Alok Menghrajani a096e3df66 Add detection for opa (http://www.opalang.org/). 2012-01-30 17:42:09 -08:00
thorade ce5402dd55 Added detection for Modelica language 2012-01-25 13:31:52 +01:00
Joshua Peek 7974d23444 Detect CoffeeScript with generated comment 2012-01-16 16:57:30 -06:00
Timur Batyrshin 7b3750bcc5 Added detection for Puppet manifests (http://docs.puppetlabs.com/) 2012-01-16 15:47:11 +04:00
Joshua Peek 395a88aa97 Remove VS project file supression 2011-12-23 10:17:49 -06:00
Tim Clem 70bc20ce12 Detect jquery-x.x for exclusion 2011-12-09 11:30:31 -08:00
Tim Clem 08620f4293 Get rid of the extra whitespace 2011-12-07 14:13:26 -08:00
Tim Clem 1acfe23347 Add jQuery validation plugin to the exclusions 2011-12-07 14:08:59 -08:00
Tim Clem 446f53be70 Improve language stats for .net projects
This excludes some common js used in many .net project so that they
don't show up in language stats. Things exlude now include:
 - Visual Studio intellisense js files
 - Microsoft's Ajax and Validation js
 - Anything in the NuGet packages directory
2011-12-07 13:57:50 -08:00