mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge branch 'master' of https://github.com/rpavlick/linguist into rpavlick-master
This commit is contained in:
@@ -284,6 +284,12 @@ module Linguist
|
||||
end
|
||||
end
|
||||
|
||||
disambiguate "Text", "NCL" do |data|
|
||||
if data.include?("THE_TITLE")
|
||||
Language["Text"]
|
||||
end
|
||||
end
|
||||
|
||||
disambiguate "NL", "NewLisp" do |data|
|
||||
if /^(b|g)[0-9]+ /.match(data)
|
||||
Language["NL"]
|
||||
|
||||
@@ -2091,6 +2091,14 @@ Myghty:
|
||||
tm_scope: none
|
||||
ace_mode: text
|
||||
|
||||
NCL:
|
||||
type: programming
|
||||
color: #28431f
|
||||
extensions:
|
||||
- .ncl
|
||||
tm_scope: source.ncl
|
||||
ace_mode: text
|
||||
|
||||
NL:
|
||||
type: data
|
||||
extensions:
|
||||
@@ -3336,6 +3344,7 @@ Text:
|
||||
extensions:
|
||||
- .txt
|
||||
- .fr
|
||||
- .ncl
|
||||
tm_scope: none
|
||||
ace_mode: text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user