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 missing Motoko keywords and remove extra Swift keywords #23

Merged
merged 1 commit into from
May 25, 2022

Conversation

rvanasa
Copy link
Contributor

@rvanasa rvanasa commented May 21, 2022

This PR adds the flexible, stable, ignore, and label keywords while removing extraneous Swift keywords such as open, get, set, operator, etc.

Syntax highlighting should now be consistent with the documentation.

Fixes #15
Fixes #19

@dfinity-droid-prod
Copy link

Dear @rvanasa,

In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA1.

If you decide to agree with it, please visit this issue and read the instructions there.

— The DFINITY Foundation

Footnotes

  1. Contributor License Agreement

@matthewhammer
Copy link

cc @kritzcreek

Copy link
Contributor

@ggreif ggreif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@ggreif ggreif merged commit 0548721 into dfinity:master May 25, 2022
@crusso
Copy link

crusso commented May 25, 2022

Thanks indeed!

ggreif pushed a commit that referenced this pull request Jun 12, 2022
Continuation of #23. The current TextMate language specification is almost directly based on Swift, so this PR fixes most of the remaining syntax highlighting and namespace issues.

This PR also adds a minimal `.vscodeignore` file as encouraged by the `vsce package` command. 

Works as expected on Ubuntu (WSL) using the latest version of VSCode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

operator is not the reserved keywords, but it is highlighted like keyword open is not a Motoko keyword
5 participants