Merge pull request #2571 from pchaigno/prolog-grammar

New grammars for Prolog and ECLiPSe
This commit is contained in:
Arfon Smith
2015-08-19 21:44:13 +01:00
8 changed files with 20 additions and 11 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

View File

@@ -843,6 +843,14 @@ ECL:
tm_scope: none
ace_mode: text
ECLiPSe:
type: programming
group: prolog
extensions:
- .ecl
tm_scope: source.prolog.eclipse
ace_mode: prolog
Eagle:
type: markup
color: "#814C05"
@@ -2628,11 +2636,11 @@ Prolog:
color: "#74283c"
extensions:
- .pl
- .ecl
- .pro
- .prolog
interpreters:
- swipl
tm_scope: source.prolog
ace_mode: prolog
Propeller Spin: