Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keywords of Kotlin and modify it's number pattern. #1389

Merged
merged 2 commits into from
Apr 13, 2018

Conversation

saplf
Copy link
Contributor

@saplf saplf commented Apr 12, 2018

  • Missing keywords: vararg dynamic infix operator

  • The new keywords in Kotlin 1.1

  • And the ones in Kotlin 1.2

  • Moreover, I have updated the number pattern of Kotlin as the description here.

- Missing keywords by the creator: vararg dynamic infix operator;
- New keywords by Kotlin 1.1&1.2: suspend typealias external expect actual;
- Remove keyword 'to' as it just a common function name;
- Add seperator '_' for the number iteral;
- Prefix of hexadecimal and binary can also be capital.
@Golmote
Copy link
Contributor

Golmote commented Apr 13, 2018

Hi! This looks great. Thanks for contributing!

@Golmote Golmote merged commit 1bf73b0 into PrismJS:gh-pages Apr 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants