diff --git a/CHANGES.md b/CHANGES.md index b1413c29a5..6ce6fe1250 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -26,6 +26,7 @@ Core Grammars: - enh(json) add json5 support [Kerry Shetline][] - fix(css) `unicode-range` parsing, issue #4253 [Kerry Shetline][] - fix(csharp) Support digit separators [te-ing][] +- enh(kotlin) Add `ktm` and `ktx` as an alias for Kotlin [DarkMatter-999][] Documentation: @@ -55,6 +56,7 @@ CONTRIBUTORS [te-ing]: https://github.com/te-ing [Anthony Martin]: https://github.com/anthony-c-martin [NriotHrreion]: https://github.com/NriotHrreion +[DarkMatter-999]: https://github.com/DarkMatter-999 ## Version 11.11.1 diff --git a/src/languages/kotlin.js b/src/languages/kotlin.js index c31f5a9d49..025ed190ac 100644 --- a/src/languages/kotlin.js +++ b/src/languages/kotlin.js @@ -127,7 +127,9 @@ export default function(hljs) { name: 'Kotlin', aliases: [ 'kt', - 'kts' + 'kts', + 'ktm', + 'ktx' ], keywords: KEYWORDS, contains: [