Christoph Lipka
7b30240a7f
Added POV-Ray Scene Description Language
2016-01-10 13:05:41 +01:00
Arfon Smith
65087dd7b8
Merge branch 'master' into 2794-local
2016-01-07 16:28:54 -05:00
Arfon Smith
f82cc26e4f
Merge pull request #2778 from pchaigno/wiki
...
New extensions for consistency with Markup
2016-01-07 16:25:47 -05:00
Arfon Smith
1b2f574af2
Merge pull request #2782 from pchaigno/perl-heuristic-order
...
Reorder Perl heuristic rules
2016-01-03 07:44:54 -05:00
Andrew Plotkin
537b83c759
Switch from Sublime-Inform grammar to language-inform7 grammar
...
for Inform 7 source code.
2016-01-01 22:23:01 -05:00
jrnold
24a89d2d75
add tm_grammar for Stan
2015-12-28 22:32:53 -08:00
jrnold
8144438f39
Add color for Stan
...
Use the brick-red color of the [Stan logo](https://raw.githubusercontent.com/stan-dev/logos/master/logo.png ).
2015-12-27 18:50:43 -08:00
jrnold
f141abbc73
add tm_scope for Stan
2015-12-24 16:05:06 -08:00
jrnold
7a70931066
add Stan to languages
2015-12-24 15:55:00 -08:00
Paul Chaignon
9a070d7bb3
Reorder Perl heuristic rules
...
Order heuristic rules by accuracy
Heuristic rules which are expected to generated
less false positives should be tested first
2015-12-23 21:43:55 +01:00
Paul Chaignon
189b2d684b
.rst.txt and .rest.txt as reStructuredText extensions
2015-12-20 16:21:11 +01:00
Paul Chaignon
71dfac26fe
.wiki extension as Mediawiki
2015-12-20 13:09:00 +01:00
Syed Humza Shah
a3613dc438
fixed a typo
2015-12-18 01:43:01 +00:00
Syed Humza Shah
97afedd861
removed usage of keyword as variable
...
this was done mainly to fix annoying syntax highlighting
2015-12-18 01:27:58 +00:00
Syed Humza Shah
00a436f175
used proper 'if/elsif/end' syntax
2015-12-18 01:24:05 +00:00
Siraaj Khandkar
b82f563c38
Add Mathematica test file extension: .mt
2015-12-15 13:33:03 -05:00
William Claude Tumeo
d3c525645b
Fix sample folder name and language order
2015-12-13 15:58:14 -02:00
William Claude Tumeo
8522dc1d33
Add Ren'Py language and grammars
2015-12-13 00:16:09 -02:00
Arfon Smith
d72114083b
Bumping version to v4.7.3
2015-12-08 22:30:17 -05:00
Paul Chaignon
28913833f4
Merge branch 'master' into click
2015-12-08 22:00:49 +01:00
Arfon Smith
c6752be546
Merge pull request #2749 from Alhadis/maxscript
...
Add language support for MAXScript
2015-12-08 08:04:13 -05:00
Arfon Smith
395e474cad
Merge pull request #2763 from github/2746-local
...
Jupyter notebook, version 2
2015-12-08 07:45:57 -05:00
Arfon Smith
16ea189aa6
Colour switch
2015-12-08 07:39:43 -05:00
marcelo-ramires
ac81fc5da9
Changing Jupyter Notebook color to a further darker shade to make it even more different from Mask's one
2015-12-07 14:12:18 -02:00
marcelo-ramires
58191c10b3
Changing Jupyter Notebook color to make it more different from Mask's one
2015-12-07 14:00:18 -02:00
marcelo-ramires
c2ca23d580
Removing extra leading space
2015-12-05 19:38:02 -02:00
marcelo-ramires
b5dfb40c7d
Setting Jupyter Notebook's language property tm_scope to source.json
2015-12-05 18:57:40 -02:00
marcelo-ramires
7e647fd915
Renaming the sample folder to match Jupyter Notebook's, making the language type markup, and adding a real sample file instead of a dummy one
2015-12-05 18:48:17 -02:00
Paul Chaignon
5b9f9bc0e6
Grammar for Click from Atom package
2015-12-05 14:03:02 +01:00
Paul Chaignon
b1c057fa30
Support for the Click router config language
2015-12-05 13:58:14 +01:00
marcelo-ramires
ca348dd373
Moving .ipynb extension from python language to a new language called Jupyter Notebook
2015-12-05 03:25:38 -02:00
Arfon Smith
832a7b9b06
Merge branch 'master' into 2667-local
2015-12-03 15:41:25 -06:00
Scott Lowe
ac559effaa
Add octave as an alias for Matlab syntax
...
Since Octave is a clone of Matlab, the syntax is exactly the same
and hence it is desirable for highlighting to be exactly the same
as well.
Adding octave as an alias for Matlab will trivially provide support
for highlighting Octave code, and will ensure the two languages
always use the same syntax highlighting rules.
2015-12-03 21:00:21 +00:00
Arfon Smith
a0ad1523a1
Adding elixir as an interpreter
2015-12-02 14:52:29 -06:00
Alhadis
06c049b8c0
Change ".ms" heuristic to accommodate MAXScript
...
Linguist currently uses the presence of "move" commands to differentiate
a GAS file from Groff. This is problematic with MAXScript, with includes
a built-in function of that name. Furthermore, because of the language's
exhaustive vocabulary, case insensitive nature and flexible syntax, it's
difficult to impose rigid criteria on classifying it.
This commit modifies the heuristic to assume the following flow:
1. If a line contains ".include" or ".global"/".globl" which doesn't
follow a non-whitespace character, assume GAS.
2. Otherwise, if the line starts with a command like ".LG7E0" with a
possible string of whitespace before it, assume it's also GAS.
UNLESS either of the following conditions are true:
2a. The token is enclosed by a string or /* multiline comment */
2b. The previous line ends with a backslash to denote a statement
broken between lines, with possible whitespace and/or comment
sequences between the backslash and the actual newline.
3. If neither of the above are met, assume the file is MAXScript.
This approach may appear overly-inclusive, but given real-world usage of
MAXScript includes writing brief files with few distinguishing keywords,
it's reasonable to permit this leniency.
2015-11-28 04:40:29 +11:00
marcelo-ramires
24c7380765
Adding .ipynb (Jupyter Notebook) extension to python, and a sample file
2015-11-26 02:55:39 -02:00
Arfon Smith
48dfdd2dfe
Bumping version to v4.7.2
2015-11-23 14:04:48 -06:00
Alhadis
f46e053633
Darken MAXScript's language colour
...
Rake's tests are failing because #0AA is too similar to the colour being
used by another language (Dart: #00B4AB). This commit increases contrast
enough to satisfy the build (with 00A6A6 being the closest shade allowed
by the current colour threshold).
See also: github/linguist@3c96f9e
2015-11-23 19:04:09 +11:00
Alhadis
cdb5206def
Define MAXScript's language traits
...
The colour chosen to represent the language is taken from Autodesk's own
colouring scheme, which should easily be recognised by their userbase.
2015-11-23 17:14:35 +11:00
Yuxin Wu
8ab94a8643
Use one line for jquery fancybox in vendor
...
(just another commit to pass CLA check
2015-11-21 21:55:08 -05:00
Yuxin Wu
f72c337c5b
add jquery.fancybox.css to vendor list
...
fancybox has both js and css
2015-11-21 21:48:03 -05:00
Arfon Smith
473e5db51f
Adding sample for Coffeescript too
2015-11-19 20:24:23 -06:00
Arfon Smith
8b9fc4683a
Merge branch 'master' into cake
2015-11-19 20:19:08 -06:00
Arfon Smith
3b4415cc3c
Merge pull request #2729 from larsbrinkhoff/fortran
...
Recognise END statement in FORTRAN files.
2015-11-19 20:07:10 -06:00
Arfon Smith
2afce1754a
Merge pull request #2731 from soc/patch-1
...
Change Scala language color to Scala language's main color
2015-11-19 20:06:22 -06:00
soc
db64f192fa
Change Scala language color to Scala language's main color
2015-11-19 15:25:55 +01:00
Lars Brinkhoff
ca96ecdc55
Recognise END statement in FORTRAN files.
2015-11-19 08:51:13 +01:00
Lars Brinkhoff
2a06d1aa19
Add new sample for Formatted.
...
Sample from qingguang/lammps-sph; GPL v2 license.
2015-11-19 07:59:31 +01:00
Arfon Smith
b2fa2a1f46
Merge pull request #2655 from iblech/pickle
...
Detect Pickle data dumps (.p, .pkl, .pickle)
2015-11-16 17:57:53 -06:00
Ingo Blechschmidt
6839516b5c
Only classify .pkl files as Pickle data dumps
...
It seems to be the dominant extension at the moment, even though several
Python resources use `.p` or `.pickle`. This was discussed in #2655 .
2015-11-17 00:05:22 +01:00