Skip to content

Commit

Permalink
fix(kotlin) Add kts as an alias for Kotlin (highlightjs#3021)
Browse files Browse the repository at this point in the history
  • Loading branch information
il3ven committed Feb 25, 2021
1 parent 69b6931 commit 45522f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Language grammar improvements:
- enh(php) Add support binary, octal, hex and scientific numerals with underscore separator support (#2997) [Ayesh][]
- enh(php) Add support for Enums (#3004) [Ayesh][]
- enh(ecmascript) Add built-in types [Vaibhav Chanana][]
- fix(kotlin) Add kts as an alias for Kotlin (#3021) [Vaibhav Chanana][]

Deprecations:

Expand Down
2 changes: 1 addition & 1 deletion src/languages/kotlin.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default function(hljs) {

return {
name: 'Kotlin',
aliases: [ 'kt' ],
aliases: [ 'kt', 'kts' ],
keywords: KEYWORDS,
contains: [
hljs.COMMENT(
Expand Down

0 comments on commit 45522f5

Please sign in to comment.