From 9cae54bb552c735937c9a77cee77382c89ba34fc Mon Sep 17 00:00:00 2001 From: remixz Date: Fri, 6 Dec 2013 16:15:34 -0800 Subject: [PATCH] Add Dogescript support --- lib/linguist/languages.yml | 6 ++++++ lib/linguist/samples.json | 32 +++++++++++++++++++++++++++++--- samples/Dogescript/example.djs | 16 ++++++++++++++++ 3 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 samples/Dogescript/example.djs diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index ea20d55b..b6c2cfc0 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -422,6 +422,12 @@ DCPU-16 ASM: Diff: primary_extension: .diff +Dogescript: + type: programming + lexer: Text only + color: "#cca760" + primary_extension: .djs + Dylan: type: programming color: "#3ebc27" diff --git a/lib/linguist/samples.json b/lib/linguist/samples.json index 1c37ea3b..1b2b1ac3 100644 --- a/lib/linguist/samples.json +++ b/lib/linguist/samples.json @@ -83,6 +83,9 @@ "DM": [ ".dm" ], + "Dogescript": [ + ".djs" + ], "ECL": [ ".ecl" ], @@ -480,8 +483,8 @@ ".gemrc" ] }, - "tokens_total": 424168, - "languages_total": 489, + "tokens_total": 424198, + "languages_total": 490, "tokens": { "ABAP": { "*/**": 1, @@ -13987,6 +13990,27 @@ "#undef": 1, "Undefine": 1 }, + "Dogescript": { + "quiet": 1, + "wow": 4, + "such": 2, + "language": 3, + "very": 1, + "syntax": 1, + "github": 1, + "recognized": 1, + "loud": 1, + "much": 1, + "friendly": 2, + "rly": 1, + "is": 2, + "true": 1, + "plz": 2, + "console.loge": 2, + "with": 2, + "but": 1, + "module.exports": 1 + }, "ECL": { "#option": 1, "(": 32, @@ -43652,6 +43676,7 @@ "Dart": 68, "Diff": 16, "DM": 169, + "Dogescript": 30, "ECL": 281, "edn": 227, "Elm": 628, @@ -43779,6 +43804,7 @@ "Dart": 1, "Diff": 1, "DM": 1, + "Dogescript": 1, "ECL": 1, "edn": 1, "Elm": 3, @@ -43881,5 +43907,5 @@ "Xtend": 2, "YAML": 1 }, - "md5": "647da23cd1eb02653f50ff9bfbb6e70d" + "md5": "913847d656c085e9aba2f1a16a795901" } \ No newline at end of file diff --git a/samples/Dogescript/example.djs b/samples/Dogescript/example.djs new file mode 100644 index 00000000..6903cc5a --- /dev/null +++ b/samples/Dogescript/example.djs @@ -0,0 +1,16 @@ +quiet + wow + such language + very syntax + github recognized wow +loud + +such language much friendly + rly friendly is true + plz console.loge with 'such friend, very inclusive' + but + plz console.loge with 'no love for doge' + wow +wow + +module.exports is language \ No newline at end of file