Abigail
721e5b4656
Add detection of GrammarKit-generated files
...
GrammarKit is a plugin by JetBrains for creating custom language plugins
for JetBrains IDEs (such as IntelliJ, RubyMine, CLion and more). It
defines a BNF parser language which can be used to generate a parser in
Java, and it also integrates JFLex for generating a lexer in Java.
Both of these generated Java files can be recognised by a comment on the
first line of the file, and so classifying them as generated is trivial.
2016-01-28 11:47:33 +00:00
Arfon Smith
9961f8bc1c
Merge pull request #2797 from lpil/erlang-leex-yecc
...
support for leex (.xrl) / yecc (.yrl) files
2016-01-23 11:36:43 -05:00
Arfon Smith
c066867d59
Merge pull request #2812 from chrisarcand/improved-vim-modeline-detection
...
Improved vim modeline detection
2016-01-21 20:12:26 -05:00
Arfon Smith
21093165e1
Merge pull request #2613 from ismailarilik/patch-2
...
Add colors for some languages.
2016-01-21 20:10:36 -05:00
Arfon Smith
94de431aa5
Merge pull request #2811 from pchaigno/pod-heuristic
...
Heuristic for Pod vs. Perl
2016-01-18 07:59:47 -05:00
Arfon Smith
502557a97f
Merge pull request #2808 from pchaigno/submodules-ssh
...
HTTPS links for submodules
2016-01-17 16:14:55 -05:00
Paul Chaignon
52938f6dbf
Test submodules are using HTTPS links
2016-01-17 18:14:51 +01:00
chrisarcand
d87fad649c
Improved vim modeline detection
...
TLDR: This greatly increases the flexibility of vim modeline detection
to manually set the language of a file.
In vim there are two forms of modelines:
[text]{white}{vi:|vim:|ex:}[white]{options}
examples: 'vim: syntax=perl', 'ex: filetype=ruby'
-and-
[text]{white}{vi:|vim:|Vim:|ex:}[white]se[t] {options}:[text]
examples: 'vim set syntax=perl:', 'Vim: se ft=ruby:'
As you can see, there are many combinations. These changes should allow
most combinations to be used. The two most important additions are the
use of the keyword 'syntax', as well as the addition of the first form
(you now no longer need to use the keyword 'set' with a colon at the end).
The use of first form with 'syntax' is very, very common across GitHub:
https://github.com/search?l=ruby&q=vim%3A+syntax%3D&ref=searchresults&type=Code&utf8=%E2%9C%93
2016-01-16 08:57:20 -05:00
Paul Chaignon
d8666e5309
Heuristic for Pod vs. Perl
...
.pod files classified as Pod if they contain any Pod syntax
2016-01-16 11:21:26 +01:00
Arfon Smith
0c071990cb
Merge pull request #2809 from github/cut-release-v4.7.4
...
v4.7.4 release
v4.7.4
2016-01-15 10:34:50 -05:00
Arfon Smith
77dfb19a50
Bumping to v4.7.4
2016-01-15 09:21:43 -05:00
Arfon Smith
49254f1f74
Grammar update
2016-01-15 09:19:24 -05:00
Arfon Smith
9dd952c175
Merge pull request #2807 from mrmonday/patch-1
...
Support .rs.in as a file extension for Rust files.
2016-01-15 09:11:36 -05:00
Robert Clipsham
0b9897db1f
Support .rs.in as a file extension for Rust files.
...
When using syntax extensions in stable or beta Rust channels using the syntex package, it is common to use the file extension .rs.in for the source file, and .rs for the generated file.
2016-01-11 19:15:01 +00:00
Paul Chaignon
71f124faa5
HTTPS links for submodules
...
When cloning the repository with all its submodules,
users without an SSH key registered will fail to clone
submodules with an SSH link
2016-01-10 10:10:41 +01:00
Arfon Smith
470bd34349
Merge pull request #2800 from github/2794-local
...
[UPDATED] Switch to a different (and better) grammar for Inform 7 source code
2016-01-07 16:37:28 -05:00
Arfon Smith
65087dd7b8
Merge branch 'master' into 2794-local
2016-01-07 16:28:54 -05:00
Arfon Smith
89c5361f25
Merge pull request #2772 from ibnfirnas/fix-copypasta-artifact
...
Remove copypasta artifact.
2016-01-07 16:26:10 -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
Louis Pilfold
15232fc072
Add the LFE lexer as an example of erlang .xrl
2016-01-04 12:17:31 +00:00
Louis Pilfold
0a7aab947c
Add the Elixir parser as an example of erlang .yrl
2016-01-04 12:16:32 +00:00
Louis Pilfold
5906fa81bb
support for Erlang leex (.xrl) / yecc (.yrl) files
2016-01-04 11:12:39 +00: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
Paul Chaignon
ca4bc6110f
Remove 'use strict' from Perl6 sample
2016-01-03 11:47:09 +01:00
Arfon Smith
a944769d61
Grammars update
2016-01-02 22:18:27 -05:00
Arfon Smith
98a31515ef
Merge pull request #2796 from github/2703-local
...
MagicPython
2016-01-02 22:09:52 -05:00
Arfon Smith
3e665099ac
Updating Python grammars
2016-01-02 22:04:16 -05:00
Arfon Smith
5400b534e4
Merge branch 'master' into 2703-local
2016-01-02 21:38:37 -05:00
Arfon Smith
6f2d4dc195
Merge pull request #2788 from nwolverson/update-purescript-submodule
...
Update PureScript submodule (moved repo, grammar tweak)
2016-01-02 21:33:21 -05:00
Arfon Smith
4f7fac3ba1
Merge pull request #2783 from jrnold/add-stan-extension
...
Add stan extension
2016-01-02 21:32:14 -05:00
Arfon Smith
fd6569830a
Merge pull request #2792 from aqnouch/patch-1
...
Updated copyright to 2016
2016-01-02 21:23:52 -05:00
Andrew Plotkin
5d4cad6394
Remove the old submodule entry.
2016-01-01 22:40:23 -05:00
Andrew Plotkin
b790a49282
Remove the old Sublime-Inform grammar from the submodules list.
2016-01-01 22:25:11 -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
Andrew Plotkin
c0b9e2c3f4
Update comment.
2016-01-01 21:52:51 -05:00
Andrew Plotkin
f488b9b9f7
Test strings and substs in a doc comment.
2016-01-01 17:22:06 -05:00
Andrew Plotkin
7060b116f4
Reword a little.
2016-01-01 16:54:55 -05:00
Andrew Plotkin
0f4cf11294
Wrong semicolon.
2016-01-01 16:34:23 -05:00
Andrew Plotkin
048496723b
Include lots more forms of Inform7 syntax. Including embedded Inform6
...
syntax.
2016-01-01 16:15:03 -05:00
AQNOUCH Mohammed
70068f74f1
Updated copyright to 2016
2016-01-01 01:53:09 +00:00
Nicholas Wolverson
6f197bacc7
Update PureScript submodule (moved repo, grammar tweak)
...
Updated grammar to support triple-quoted strings properly:
0c53f8162e
atom-language-purescript repo has been moved to purescript-contrib org,
update the URL.
2015-12-29 23:22:53 +00:00
jrnold
24a89d2d75
add tm_grammar for Stan
2015-12-28 22:32:53 -08:00
jrnold
1ac16cbec7
add vendor for Stan
2015-12-28 22:31:49 -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
5329b96793
add Stan samples
2015-12-24 15:55:14 -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