mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge pull request #2306 from powerman/limbo
add Limbo: language, samples
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user