Dissociate ECLiPSe from Prolog

ECLiPSe syntax is slightly different from Prolog syntax
ECLiPSe is in the Prolog group so it will only be highlighted differently
This commit is contained in:
Paul Chaignon
2015-08-19 20:56:14 +02:00
parent 0c5aa2a7eb
commit 7d91e4959a
4 changed files with 12 additions and 5 deletions

View File

@@ -112,7 +112,7 @@ module Linguist
disambiguate ".ecl" do |data|
if /^[^#]+:-/.match(data)
Language["Prolog"]
Language["ECLiPSe"]
elsif data.include?(":=")
Language["ECL"]
end