Skip to content

Commit 67f97e2

Browse files
authoredJul 13, 2020
Kotlin: Added kt and kts aliases (#2474)
1 parent 4028520 commit 67f97e2

8 files changed

+14
-4
lines changed
 

‎components.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎components.json

+4
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,10 @@
597597
},
598598
"kotlin": {
599599
"title": "Kotlin",
600+
"alias": ["kt", "kts"],
601+
"aliasTitles": {
602+
"kts": "Kotlin Script"
603+
},
600604
"require": "clike",
601605
"owner": "Golmote"
602606
},

‎components/prism-kotlin.js

+2
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,6 @@
5959
interpolation: interpolation
6060
};
6161

62+
Prism.languages.kt = Prism.languages.kotlin;
63+
Prism.languages.kts = Prism.languages.kotlin;
6264
}(Prism));

‎components/prism-kotlin.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎plugins/autoloader/prism-autoloader.js

+2
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@
172172
"gamemakerlanguage": "gml",
173173
"hs": "haskell",
174174
"webmanifest": "json",
175+
"kt": "kotlin",
176+
"kts": "kotlin",
175177
"tex": "latex",
176178
"context": "latex",
177179
"ly": "lilypond",

‎plugins/autoloader/prism-autoloader.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎plugins/show-language/prism-show-language.js

+2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@
9494
"jsonp": "JSONP",
9595
"jsstacktrace": "JS stack trace",
9696
"js-templates": "JS Templates",
97+
"kts": "Kotlin Script",
98+
"kt": "Kotlin",
9799
"latex": "LaTeX",
98100
"tex": "TeX",
99101
"context": "ConTeXt",

‎plugins/show-language/prism-show-language.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.