From ef42680646eb47b76e00068ffd78d4b3700e5d3f Mon Sep 17 00:00:00 2001 From: Chriztian Steinmeier Date: Tue, 4 Feb 2014 23:26:02 +0100 Subject: [PATCH 1/6] Add Kit entry in languages.yml --- lib/linguist/languages.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 302ffe14..eb98d136 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -880,6 +880,11 @@ Julia: primary_extension: .jl color: "#a270ba" +Kit: + type: markup + ace_mode: html + primary_extension: .kit + KRL: lexer: Text only type: programming From f4fd6ed94ee67868661653ae147692598ca504ac Mon Sep 17 00:00:00 2001 From: Chriztian Steinmeier Date: Tue, 4 Feb 2014 23:26:25 +0100 Subject: [PATCH 2/6] Add sample file for Kit language --- samples/Kit/demo.kit | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 samples/Kit/demo.kit diff --git a/samples/Kit/demo.kit b/samples/Kit/demo.kit new file mode 100644 index 00000000..7c948f16 --- /dev/null +++ b/samples/Kit/demo.kit @@ -0,0 +1,8 @@ + + +
+

+

+ +

+
\ No newline at end of file From 43825c342671e93f6d414c218bd1746b72862908 Mon Sep 17 00:00:00 2001 From: Chriztian Steinmeier Date: Tue, 4 Feb 2014 23:50:44 +0100 Subject: [PATCH 3/6] Update samples.json --- lib/linguist/samples.json | 61 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 3 deletions(-) diff --git a/lib/linguist/samples.json b/lib/linguist/samples.json index ed92145a..0c45e5e7 100644 --- a/lib/linguist/samples.json +++ b/lib/linguist/samples.json @@ -52,6 +52,9 @@ "Ceylon": [ ".ceylon" ], + "Cirru": [ + ".cirru" + ], "Clojure": [ ".cl2", ".clj", @@ -179,6 +182,9 @@ "Julia": [ ".jl" ], + "Kit": [ + ".kit" + ], "Kotlin": [ ".kt" ], @@ -535,8 +541,8 @@ ".gemrc" ] }, - "tokens_total": 445429, - "languages_total": 523, + "tokens_total": 445679, + "languages_total": 533, "tokens": { "ABAP": { "*/**": 1, @@ -12715,6 +12721,43 @@ "<=>": 1, "other.name": 1 }, + "Cirru": { + "print": 38, + "array": 14, + "int": 36, + "string": 7, + "set": 12, + "f": 3, + "block": 1, + "(": 20, + "a": 22, + "b": 7, + "c": 9, + ")": 20, + "call": 1, + "bool": 6, + "true": 1, + "false": 1, + "yes": 1, + "no": 1, + "map": 8, + "m": 3, + "float": 1, + "require": 1, + "./stdio.cr": 1, + "self": 2, + "child": 1, + "under": 2, + "parent": 1, + "get": 4, + "x": 2, + "just": 4, + "-": 4, + "code": 4, + "eval": 2, + "nothing": 1, + "container": 3 + }, "Clojure": { "(": 83, "defn": 4, @@ -25566,6 +25609,14 @@ "end": 3, "return": 1 }, + "Kit": { + "
": 1, + "

": 1, + "

": 1, + "

": 1, + "

": 1, + "
": 1 + }, "Kotlin": { "package": 1, "addressbook": 1, @@ -47799,6 +47850,7 @@ "C#": 278, "C++": 31181, "Ceylon": 50, + "Cirru": 244, "Clojure": 510, "COBOL": 90, "CoffeeScript": 2951, @@ -47835,6 +47887,7 @@ "JSON": 183, "JSON5": 57, "Julia": 247, + "Kit": 6, "Kotlin": 155, "KRL": 25, "Lasso": 9849, @@ -47941,6 +47994,7 @@ "C#": 2, "C++": 27, "Ceylon": 1, + "Cirru": 9, "Clojure": 7, "COBOL": 4, "CoffeeScript": 9, @@ -47977,6 +48031,7 @@ "JSON": 4, "JSON5": 2, "Julia": 1, + "Kit": 1, "Kotlin": 1, "KRL": 1, "Lasso": 4, @@ -48066,5 +48121,5 @@ "Xtend": 2, "YAML": 1 }, - "md5": "a46f14929a6e9e4356fda95beb035439" + "md5": "e15665f251898e9707bd69413c0e5485" } \ No newline at end of file From 10903e7e38c693fc6efa0a947e65689f472bcc22 Mon Sep 17 00:00:00 2001 From: Chriztian Steinmeier Date: Tue, 11 Mar 2014 22:37:46 +0100 Subject: [PATCH 4/6] Add missing lexer to Kit language --- lib/linguist/languages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index eb98d136..8f07c744 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -882,6 +882,7 @@ Julia: Kit: type: markup + lexer: html ace_mode: html primary_extension: .kit From 4ba6f9567b4689cbce39df0cad32a2685e1c3cec Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Tue, 22 Apr 2014 10:25:50 -0500 Subject: [PATCH 5/6] CAPS --- lib/linguist/languages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 9caccd4c..ae12d952 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -999,7 +999,7 @@ Julia: Kit: type: markup - lexer: html + lexer: HTML ace_mode: html primary_extension: .kit From ada4cad25cf8727816bb1bc9be2442b16b4e84a9 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Tue, 22 Apr 2014 10:27:35 -0500 Subject: [PATCH 6/6] Seems a little fussy? --- lib/linguist/languages.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index ae12d952..cb8f184f 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -997,17 +997,17 @@ Julia: primary_extension: .jl color: "#a270ba" -Kit: - type: markup - lexer: HTML - ace_mode: html - primary_extension: .kit - KRL: lexer: Text only type: programming color: "#f5c800" primary_extension: .krl + +Kit: + type: markup + lexer: HTML + ace_mode: html + primary_extension: .kit Kotlin: type: programming