Merge pull request #2306 from powerman/limbo

add Limbo: language, samples
This commit is contained in:
Arfon Smith
2015-04-06 13:14:32 -05:00
7 changed files with 294 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ module Linguist
end
end
disambiguate "M", "MUF", "Mathematica", "Matlab", "Mercury", "Objective-C" do |data|
disambiguate "Limbo", "M", "MUF", "Mathematica", "Matlab", "Mercury", "Objective-C" do |data|
if ObjectiveCRegex.match(data)
Language["Objective-C"]
elsif data.include?(":- module")
@@ -197,6 +197,8 @@ module Linguist
Language["Mathematica"]
elsif /^\s*%/.match(data)
Language["Matlab"]
elsif /^\w+\s*:\s*module\s*{/.match(data)
Language["Limbo"]
end
end

View File

@@ -1670,6 +1670,14 @@ LilyPond:
- .ily
ace_mode: text
Limbo:
type: programming
extensions:
- .b
- .m
tm_scope: none
ace_mode: text
Liquid:
type: markup
extensions: