Arfon Smith
b16149d641
Merge pull request #1758 from larsbrinkhoff/fsharp-glsl
...
Disambiguate .fs between F#, Forth, and GLSL
2014-11-27 07:41:14 -06:00
Brahn Partridge
43ee45d9b6
Merge branch 'master' of https://github.com/github/linguist
...
Conflicts:
grammars.yml
2014-11-27 13:47:56 +01:00
Brahn Partridge
02db72515f
removed less common extensions and better examples
2014-11-27 13:41:21 +01:00
Lars Brinkhoff
2d940e72c2
Add F# and GLSL samples. Add Forth and GLSL extension .fs.
...
Add heuristic to disambiguate between F#, Forth, and GLSL.
2014-11-27 06:56:26 +01:00
Brandon Keepers
9f103abfb5
Merge pull request #1750 from github/interpreters-in-samples
...
Fix for interpreters from samples
2014-11-26 16:51:08 -05:00
Brandon Keepers
689a209ed9
Merge remote-tracking branch 'origin/master' into interpreters-in-samples
...
* origin/master:
byebug requires ruby 2.0
Remove test for removed extension
Merge branch 'master' into 1233-local
Removing pry runtime dependency
Moving to fixtures
Language detection test for non-sample files
Refactoring of Language.detect
Try shebang detection if the extension is unknown
Change unknown extension of PHP sample file
2014-11-26 16:25:15 -05:00
Brandon Keepers
d91a451fc7
Merge pull request #1776 from github/fix-failures
...
Fix failure from #1731
2014-11-26 16:24:25 -05:00
Brandon Keepers
1ae4672230
byebug requires ruby 2.0
2014-11-26 16:12:43 -05:00
Brandon Keepers
3edf5fd770
Remove test for removed extension
...
This existed when the test was written, but was removed in https://github.com/github/linguist/pull/1734 and the test got lost in a merge somewhere.
2014-11-26 15:59:16 -05:00
Arfon Smith
412af86cb8
Merge pull request #1538 from github/1233-local
...
Detection based on the shebang (updated)
2014-11-26 14:47:12 -06:00
Brandon Keepers
5b41ab4774
Fix typo in test
2014-11-26 15:40:51 -05:00
Brandon Keepers
06c0cb916b
add rake interpreter
2014-11-26 15:40:40 -05:00
Brandon Keepers
b3a49ce627
add python3 interpreter
2014-11-26 15:40:33 -05:00
Brandon Keepers
0651568bfb
Remove old wrong_shebang.rb sample
...
This was added in a69118bd17 , but that test has since been removed.
2014-11-26 15:34:03 -05:00
Brandon Keepers
ce31e23006
Merge remote-tracking branch 'origin/master' into interpreters-in-samples
...
* origin/master: (30 commits)
Add byebug
Link to Lightshow in CONTRIBUTING.md
Switch to a better F# grammar
Bump Rugged again
Checkout the master for testing
Rugged 0.22.0b3
Reordering
Bump version to 4.0.3
Add some docs for tm_scope
Change NONE to none
Checking other case for Chart.jS
Test that all languages have grammars
Fix RHTML's tm_scope
Chart JS is vendored
Switch to a better grammar for Bro
reorder again…
put cjsx at the top
Use a SQF grammar for SQF files
move cjsx before iced
move cjsx before iced
...
Conflicts:
lib/linguist/languages.yml
2014-11-26 15:17:08 -05:00
Brandon Keepers
7ccd8caf71
Merge pull request #1774 from github/byebug
...
Add byebug
2014-11-26 15:16:06 -05:00
Brandon Keepers
598a7028ea
Add byebug
2014-11-26 15:12:55 -05:00
Brandon Keepers
4ed1efe9ce
Merge pull request #1741 from github/test-helper
...
Add test helper to make test env consistent
2014-11-26 15:10:24 -05:00
Brandon Keepers
6a4bf3fa65
Merge pull request #1731 from github/multiple-ext-segments
...
Support for multiple file extension segments
2014-11-26 15:09:15 -05:00
Brandon Keepers
5b2b3a2b53
Merge remote-tracking branch 'origin/master' into test-helper
...
* origin/master: (31 commits)
Link to Lightshow in CONTRIBUTING.md
Switch to a better F# grammar
Bump Rugged again
Checkout the master for testing
Rugged 0.22.0b3
Reordering
Bump version to 4.0.3
Add some docs for tm_scope
Change NONE to none
Checking other case for Chart.jS
Test that all languages have grammars
Fix RHTML's tm_scope
Chart JS is vendored
Switch to a better grammar for Bro
reorder again…
put cjsx at the top
Use a SQF grammar for SQF files
move cjsx before iced
move cjsx before iced
change component name
...
Conflicts:
test/test_language.rb
2014-11-26 15:07:27 -05:00
Adam Roben
596cd9368f
Merge pull request #1773 from github/introduce-lightshow
...
Link to Lightshow in CONTRIBUTING.md
2014-11-26 11:44:05 -05:00
Adam Roben
f8d50faedb
Link to Lightshow in CONTRIBUTING.md
...
This is a tool for testing grammars with GitHub's syntax highlighter.
2014-11-26 11:21:05 -05:00
Adam Roben
ccc9c197ae
Merge pull request #1771 from github/better-fsharp-grammar
...
Switch to a better F# grammar
2014-11-26 09:35:55 -05:00
Brahn Partridge
af9b5f0e98
remove sample that is no longer used
2014-11-26 15:11:23 +01:00
Brahn Partridge
a145bd92f7
remove tpl extension to avoid conflict with smarty language
2014-11-26 15:07:28 +01:00
Brahn Partridge
20204cd9fc
fix test_pedantic failure
2014-11-26 15:01:25 +01:00
Adam Roben
ed2dcc35e8
Switch to a better F# grammar
...
This fixes many bugs with F# highlighting, and the grammar is being
actively developed and maintained by the fsharp organization on GitHub.
2014-11-26 08:56:02 -05:00
Brahn Partridge
3445e55744
additional samples and fixed extensions list
2014-11-26 14:51:47 +01:00
Paul Chaignon
c5a654e692
Tests for Python multiline comments during tokenization
2014-11-25 20:01:24 -05:00
Paul Chaignon
3ac69ed4e0
Merge branch 'master' into pythonmultiline
2014-11-25 19:53:40 -05:00
Arfon Smith
208a3ff480
Merge branch 'master' into 1233-local
...
Conflicts:
lib/linguist/language.rb
2014-11-25 17:04:43 -06:00
Paul Chaignon
6739a1471b
Remove samples.json following merge with master
2014-11-25 15:46:51 -05:00
Paul Chaignon
230d91ecd8
Merge branch 'master' into saltstack-states
2014-11-25 15:41:25 -05:00
Arfon Smith
8de2cd15ed
Merge branch 'master' into 1036-local
...
Conflicts:
lib/linguist/heuristics.rb
lib/linguist/languages.yml
test/test_heuristics.rb
2014-11-25 13:06:11 -06:00
Garen Torikian
4603f3b2e7
Update languages.yml to always include ace_mode
2014-11-24 11:38:51 -08:00
Garen Torikian
9d6b8b4715
Add test for catching missing ace_mode values
2014-11-24 10:58:13 -08:00
Brandon Keepers
7cbc4bc144
Merge pull request #1751 from roodboi/master
...
add .cjsx extension for Facebook’s JSX in coffescript
2014-11-24 11:30:04 -05:00
Vicent Marti
d239e71826
Merge pull request #1765 from github/vmg/rugged-22b3
...
Rugged 0.22.0b3
2014-11-24 13:37:09 +01:00
Vicent Marti
ecaa2a41c9
Bump Rugged again
2014-11-24 13:32:37 +01:00
Vicent Marti
fc71805489
Checkout the master for testing
2014-11-24 13:25:49 +01:00
Vicent Marti
74d94781cb
Rugged 0.22.0b3
2014-11-24 13:05:42 +01:00
Brahn Partridge
036b9c4094
Hello world sample
2014-11-24 11:32:53 +01:00
Brahn Partridge
ce928d8b64
Add support for the Clarion language
2014-11-24 11:30:25 +01:00
Garen Torikian
897c2c5ab6
Add missing ace_mode values wherever necessary
2014-11-23 21:16:21 -08:00
Arfon Smith
b556425037
Reordering
2014-11-21 13:10:45 -06:00
Arfon Smith
6131d17c02
Merge pull request #1748 from mrego/xht-extension
...
Add support for .xht extension which is used in some XHTML files
2014-11-21 12:48:58 -06:00
Adam Roben
875b3157bf
Merge pull request #1757 from github/cut-release-v4.0.3
...
Bump version to 4.0.3
v4.0.3
2014-11-21 12:06:38 -05:00
Adam Roben
4ce9048f8d
Bump version to 4.0.3
2014-11-21 11:56:17 -05:00
Adam Roben
04f1b1df48
Merge pull request #1756 from github/test-for-grammars
...
Test that all languages have grammars
2014-11-21 11:54:46 -05:00
Adam Roben
f9c36345c3
Add some docs for tm_scope
2014-11-21 11:53:52 -05:00