Merge pull request #2866 from jasonwilliams200OK/master

Classification of props file
This commit is contained in:
Arfon Smith
2016-03-09 20:53:07 -06:00
3 changed files with 38 additions and 0 deletions

View File

@@ -313,6 +313,14 @@ module Linguist
end
end
disambiguate ".props" do |data|
if /^(\s*)(<Project|<Import|<Property|<?xml|xmlns)/i.match(data)
Language["XML"]
elsif /\w+\s*=\s*/i.match(data)
Language["INI"]
end
end
disambiguate ".r" do |data|
if /\bRebol\b/i.match(data)
Language["Rebol"]