Adam Roben
9385e70d2d
Merge pull request #1705 from github/cut-release-v3.5.2
...
Bump to version v3.5.2
v3.5.2
2014-11-12 13:51:59 -05:00
Adam Roben
9469e188c8
Bump to version v3.5.2
2014-11-12 13:39:05 -05:00
Vicent Marti
6e57ca6fbc
Update the TM scope for the Zephir language
2014-11-12 18:19:10 +01:00
Adam Roben
d5e3ebaef3
Merge pull request #1704 from github/gas-tmscope
...
Add a tm_scope for GAS
2014-11-12 12:08:14 -05:00
Adam Roben
a9eac8a832
Add a tm_scope for GAS
...
The source.asm.x86 grammar does a decent job of parsing this.
2014-11-12 12:07:23 -05:00
Adam Roben
1c7f5368cf
Merge pull request #1703 from github/less-tmscope
...
Fix the tm_scope for Less
2014-11-12 11:45:01 -05:00
Adam Roben
960ff73c7f
Fix the tm_scope for Less
...
The source.css.less grammar actually understands Less syntax.
2014-11-12 11:43:52 -05:00
Brandon Keepers
e1ce30c3ce
Merge pull request #1653 from baroquebobcat/patch-1
...
add pants BUILD file highlighting to languages.yml
2014-11-11 01:39:55 -05:00
Brandon Keepers
89b442c751
Merge pull request #1657 from techniq/patch-1
...
Add .NET config files as XML
2014-11-11 01:39:19 -05:00
Adam Roben
6b41059cdf
Merge pull request #1696 from github/cut-release-v3.5.1
...
Bump to 3.5.1
v3.5.1
2014-11-10 15:19:28 -05:00
Adam Roben
62cb42eee5
Bump to 3.5.1
2014-11-10 15:15:15 -05:00
Adam Roben
6bbb56db00
Merge pull request #1695 from github/nil-safety
...
Make it safe to pass nil to Language.find_by_name/alias again
2014-11-10 15:13:28 -05:00
Adam Roben
160598b9ef
Make it safe to pass nil to Language.find_by_name/alias again
...
This restores compatibility with v3.4.x.
2014-11-10 15:12:29 -05:00
Adam Roben
32b07a4e10
Merge pull request #1694 from github/cut-release-v3.5.0
...
Bumping to 3.5.0
v3.5.0
2014-11-10 14:52:55 -05:00
Adam Roben
8890c57681
Bumping to 3.5.0
2014-11-10 14:38:55 -05:00
Adam Roben
de188126fb
Merge pull request #1683 from github/find-by-ext
...
Extract Language.find_by_extension
2014-11-10 14:37:45 -05:00
Adam Roben
97a1adcef1
Allow extensions without a leading dot
...
This makes the API a little easier to use.
2014-11-10 14:30:37 -05:00
Adam Roben
ffbe95d6e5
Fix docs
2014-11-10 14:15:21 -05:00
Adam Roben
d54f86ae58
Add some tests for Language.find_by_extension
2014-11-10 14:12:29 -05:00
Brandon Keepers
92ace440b9
Merge pull request #1540 from rlespinasse/golo-support
...
Add support for Golo language
2014-11-08 14:00:36 -05:00
Adam Roben
d5ee477d3b
Merge pull request #1687 from github/shell-session-scope
...
Add a TextMate scope for .sh-session files
2014-11-07 15:47:35 -05:00
Adam Roben
6e8152c423
Add a TextMate scope for .sh-session files
...
Coming soon to Atom. See https://github.com/atom/language-shellscript/pull/3
2014-11-07 15:02:37 -05:00
Adam Roben
8149356668
Merge pull request #1678 from tenbits/master
...
Use MaskLexer for *.mask
2014-11-07 13:39:24 -05:00
Alex Kit
806e30d70f
Use MaskLexer for *.mask
2014-11-07 19:26:37 +01:00
Adam Roben
299ec8f8ea
Merge pull request #1686 from github/pytb-tm_scope
...
Add a TextMate scope for .pytb files
2014-11-07 12:57:36 -05:00
Adam Roben
f6fbd18bd5
Add a TextMate scope for .pytb files
...
This is the scope that Atom uses for these files.
See https://github.com/atom/language-python/blob/master/grammars/python-traceback.cson
2014-11-07 12:55:59 -05:00
Adam Roben
ecd30d3ccf
Merge pull request #1675 from github/more-aliases
...
Pull in aliases and file extensions from Pygments
2014-11-07 10:31:00 -05:00
Brandon Keepers
228d89649a
Add Language.find_by_extension
2014-11-07 10:27:07 -05:00
Adam Roben
751360ecf1
Make Language.[] and Language.find_by(alias|name) ignore case
...
This makes it easier to find a Linguist::Language for a fenced code
block in Markdown, where language names are often specified in
lowercase.
2014-11-07 10:09:55 -05:00
Adam Roben
d9ed216092
Add language aliases from Pygments
...
I went through all the aliases Pygments supports and removed the ones
that could already be used to find a Linguist::Language. Then I found
the Pygments::Lexer associated with each alias and found an associated
Linguist::Language for it (looking for a language with the same name as
the lexer, or by looking for the first langauge that uses that lexer).
Then I added the alias to the language's alias list.
2014-11-06 16:48:52 -05:00
Adam Roben
18a3ef9e5e
Pull in file extensions from Pygments
...
I read all the file extensions that Pygments knows about, mapped them
back to the appropriate Linguist::Language, and added them to the
languages.yaml file.
2014-11-06 16:43:08 -05:00
Arfon Smith
e7b670c5de
Merge pull request #1669 from github/support-hack
...
Support hack
2014-11-05 13:56:37 -06:00
Arfon Smith
114fabd29a
Test for Hack heuristic
2014-11-04 16:12:46 -06:00
Arfon Smith
0946791434
Merge branch 'master' into support-hack
...
Conflicts:
lib/linguist/heuristics.rb
2014-11-04 16:09:00 -06:00
Brandon Keepers
06bcdba9c4
Merge pull request #1654 from danijar/master
...
Exclude minified JavaScript and CSS
2014-11-03 14:20:59 -05:00
Nick Howard
729a174eb6
add pants BUILD file highlighting to languages.yml
...
the pants build tool uses python files named BUILD. This adds highlighting for them.
2014-11-03 12:11:14 -07:00
Danijar Hafner
1dbbcb73e7
Add tests for minified JavaScript and CSS
...
Also, exclude -min.css pattern, like already done for JavaScript files
2014-11-03 19:41:31 +01:00
Sean Lynch
87df17309c
Fix package.config to packages.config
2014-11-03 08:35:14 -05:00
Arfon Smith
f2cd75332c
Merge pull request #1660 from github/1623-local
...
1623 local
2014-11-02 20:17:38 -06:00
Arfon Smith
2cd7579e21
Merge branch '1623-local' of github.com:github/linguist into 1623-local
...
Conflicts:
lib/linguist/heuristics.rb
2014-11-02 20:14:46 -06:00
Arfon Smith
d9daae176e
Merge branch 'master' into 1623-local
...
Conflicts:
lib/linguist/heuristics.rb
2014-11-02 20:13:58 -06:00
Arfon Smith
20814ec533
Merge branch 'master' into 1623-local
...
Conflicts:
lib/linguist/heuristics.rb
2014-11-02 20:12:59 -06:00
Arfon Smith
9d8ab16a38
Merge branch 'master' into 1623-local
...
Conflicts:
lib/linguist/heuristics.rb
2014-11-02 20:11:49 -06:00
Arfon Smith
49c2793bf5
Syntax preference
2014-11-02 19:56:20 -06:00
Sean Lynch
b5cacbba9f
Add .NET config files as XML
2014-11-02 10:13:52 -05:00
Danijar Hafner
20aee11cea
Exclude minified JavaScript and CSS
...
Those files are either external libraries or builds of the repository itself. In any case they are generated automatically and shouldn't count in the language statistics. This also simplifies some of the rules that had to exclude both minified and normal dependencies.
2014-11-01 19:13:19 +01:00
Arfon Smith
e8cf750e18
Merge pull request #1639 from pchaigno/asc
...
Heuristic rule to detect AsciiDoc files
2014-11-01 09:26:49 -05:00
Brandon Keepers
21f56744d4
Merge pull request #1608 from github/just-yajl
...
Use yajl since it is already a dependency
2014-10-31 18:03:28 -04:00
Brandon Keepers
02aeb4f895
Merge remote-tracking branch 'origin/master' into just-yajl
...
* origin/master: (42 commits)
its always greener
that new green shell
Removing stale extension
Update README.md
Add moon interpreter for MoonScript
Bumping version for 3.4.1 release
Use text.html.erb scope for HTML+ERB files
Add sample .dyalog file for file type APL
Added extra Papyrus sample files.
Add sample Papyrus script
Add Papyrus support
Add LOLCODE support
Add ProGuard config files to vendored files
Recognise *.dyalog as APL sources
Assign a bunch more TextMate scopes
CI step for samples
Add .command as a Shell file extension
CI config
Vendored gems
Update cibuild
...
Conflicts:
Rakefile
2014-10-31 18:03:03 -04:00
Arfon Smith
f9de16fbd2
Merge pull request #1620 from unfunco/ant-build-dist-support
...
Add build.xml.dist to XML filenames
2014-10-31 16:46:49 -05:00