Add new language Formatted for .for.

Sample file wksst8110.for is from the Climate Prediction Center at the
National Weather Service of the USA, and is in the public domain.
This commit is contained in:
Lars Brinkhoff
2015-02-14 19:23:26 +01:00
parent 3bb740fe9f
commit 013188dcd9
3 changed files with 1325 additions and 1 deletions

View File

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

View File

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

File diff suppressed because it is too large Load Diff