Merge pull request #2123 from larsbrinkhoff/for

Some .for files are text.
This commit is contained in:
Arfon Smith
2015-03-17 14:59:53 -05:00
3 changed files with 1325 additions and 1 deletions

View File

@@ -164,7 +164,7 @@ module Linguist
end
end
disambiguate "FORTRAN", "Forth" do |data|
disambiguate "FORTRAN", "Forth", "Formatted" do |data|
if /^: /.match(data)
Language["Forth"]
elsif /^([c*][^a-z]| (subroutine|program)\s|\s*!)/i.match(data)

View File

@@ -931,6 +931,13 @@ Fantom:
tm_scope: source.fan
ace_mode: text
Formatted:
type: data
extensions:
- .for
tm_scope: none
ace_mode: text
Forth:
type: programming
color: "#341708"

File diff suppressed because it is too large Load Diff