Merge branch 'master' into feature-Mathematica10Extensions

This commit is contained in:
halirutan
2015-01-24 00:54:03 +01:00
4 changed files with 194 additions and 1 deletions

View File

@@ -112,6 +112,15 @@ module Linguist
end
end
disambiguate "GAP", "Scilab" do |data|
if (data.include?("gap> "))
Language["GAP"]
# Heads up - we don't usually write heuristics like this (with no regex match)
else
Language["Scilab"]
end
end
disambiguate "Common Lisp", "OpenCL", "Cool" do |data|
if data.include?("(defun ")
Language["Common Lisp"]

View File

@@ -951,11 +951,13 @@ GAMS:
GAP:
type: programming
lexer: GAP
extensions:
- .g
- .gap
- .gd
- .gi
- .tst
tm_scope: none
ace_mode: text
@@ -2058,7 +2060,7 @@ OpenSCAD:
extensions:
- .scad
tm_scope: none
ace_mode: text
ace_mode: scad
Org:
type: prose