Renamed text in Text

This commit is contained in:
Paul Chaignon
2014-12-11 12:51:09 -05:00
parent f93272f0bd
commit db70630eaa
9 changed files with 18 additions and 18 deletions

View File

@@ -156,13 +156,13 @@ module Linguist
end
end
disambiguate "Frege", "Forth", "text" do |data|
disambiguate "Frege", "Forth", "Text" do |data|
if /^(: |also |new-device|previous )/.match(data)
Language["Forth"]
elsif /\s*(import|module|package|data|type) /.match(data)
Language["Frege"]
else
Language["text"]
Language["Text"]
end
end

View File

@@ -2881,6 +2881,15 @@ Tea:
tm_scope: source.tea
ace_mode: text
Text:
type: prose
wrap: true
extensions:
- .txt
- .fr
tm_scope: none
ace_mode: text
Textile:
type: prose
ace_mode: textile
@@ -3242,15 +3251,6 @@ reStructuredText:
- .rest
ace_mode: text
text:
type: prose
wrap: true
extensions:
- .txt
- .fr
tm_scope: none
ace_mode: text
wisp:
type: programming
ace_mode: clojure