Joshua Peek
fbbaff09cd
Stop treating text as a language
2012-08-03 13:55:51 -05:00
Joshua Peek
6014bd015e
Change find_by_filename api to return all matching languages
2012-08-03 13:53:12 -05:00
Joshua Peek
059f661eb6
Rename Max/MSP to Max
2012-07-24 11:03:09 -05:00
Joshua Peek
144655f2c5
Require explicit primary_extension
2012-07-20 16:54:49 -05:00
Joshua Peek
a708993388
Ensure all languages have unique primary extensions
2012-06-07 10:29:19 -05:00
Joshua Peek
2cbf428176
Use XSLT lexer
2012-05-09 10:41:11 -05:00
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
c3d6fc5af8
Colors!
2012-04-19 17:25:16 -05:00
Ilya Grigorik
a3dc9fb138
add detection for Dart
2012-04-09 14:38:43 -07: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
Joshua Peek
791761b19f
kt extension is real now
2012-03-28 11:25:36 -05:00
Joshua Peek
9d983b64b0
Fix tests
2012-03-28 11:03:22 -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
Joshua Peek
087205893f
Fix name escaping
2012-03-19 09:35:46 -05:00
Abe Voelker
d32c9e88b4
Add support for OpenEdge ABL language
2012-03-05 08:58:19 -06:00
Joshua Peek
cc7205b9aa
Merge pull request #122 from rankida/detect-powershell
...
Added Windows Powershell detection
2012-03-05 06:04:36 -08:00
Abe Voelker
daef609f5f
Add detection for the Coq language - fixes #116
2012-02-17 10:50:21 -06: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
Timur Batyrshin
7b3750bcc5
Added detection for Puppet manifests ( http://docs.puppetlabs.com/ )
2012-01-16 15:47:11 +04:00
Joshua Peek
e4fe1d17e7
Add tests for Perl and Turning detection
2011-11-21 10:42:39 -06:00
Humza
c73689ee0c
Add missing alias tests
2011-11-06 14:18:30 -05:00
Joshua Peek
8a7bd7d073
Correct ML test assertion
2011-09-27 10:20:03 -05:00
Joshua Peek
0864b9847f
Replace Lexer with Pygments::Lexer
2011-08-23 12:41:06 -05:00
Joshua Peek
bb11317546
Switch to Pygments.rb
2011-08-22 10:55:39 -05:00
Joshua Peek
adb436706d
Require group to be set
2011-08-01 10:25:15 -05:00
Joshua Peek
d82b08f560
Add parent Parrot language
2011-08-01 10:25:03 -05:00
Joshua Peek
ac89ff7f01
Require primary extension to be set
2011-08-01 10:24:21 -05:00
Joshua Peek
6aedcfd0da
Allow explicit primary extensions
2011-07-25 11:35:05 -05:00
Joshua Peek
44699ba9b9
Less extensive testing
2011-07-06 10:13:28 -05:00
Joshua Peek
10a39fc09e
Don't index python traceback
2011-07-06 10:04:46 -05:00
Joshua Peek
86be463cd9
Mark JSON as not searchable
2011-07-06 09:58:08 -05:00
Joshua Peek
aa3b28510f
These have been reindexed already
2011-07-06 09:55:45 -05:00
Joshua Peek
8f46cd0748
Try to classify language types
2011-07-05 20:48:06 -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
93330c5be3
Preserve new lines for syntax highlighting
2011-07-05 15:50:33 -05:00
Andrei Formiga
b3e7065972
Added detection for Prolog and disambiguation for .pl files
2011-07-05 17:33:28 -03:00
Joshua Peek
3513be30f9
Merge pull request #11 from horndude77/detect-lilypond-language
...
Detect lilypond language.
2011-06-28 07:11:30 -07:00
Konstantin Haase
4202a2a402
add support for Fancy
2011-06-28 15:04:57 +02:00
Jay Anderson
a5ff16c1dc
Detect lilypond language.
2011-06-27 20:19:39 -07:00
Joshua Peek
69f4c9cc6e
Rename major to common
2011-06-22 10:37:20 -05:00
Joshua Peek
a881cde6fd
Add language groups
2011-06-22 10:07:37 -05:00
Joshua Peek
7c2a8874a3
Return nil if no Language is found
2011-06-18 20:45:49 -05:00
Joshua Peek
a75a57eb5e
Make Language name finder case sensitive
2011-06-18 20:29:47 -05:00
Joshua Peek
cfb952b867
Proper lexer casing
2011-06-18 20:19:10 -05:00