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

Fix keywords being incorrectly highlighted as function calls #353

Merged
merged 6 commits into from
Apr 27, 2022

Conversation

DaelonSuzuka
Copy link
Collaborator

@DaelonSuzuka DaelonSuzuka commented Apr 27, 2022

Some instances of keywords followed by an open paren were being incorrectly highlighted as a function call.

I also added a .prettierrc.json config file to the syntaxes directory. I would really like to reach the point where the entire project has automatic formatting preconfigured, maybe including precommit hooks, but I'm starting with the folder I've touched the most.

(Also: hopefully I got all the trailing newlines correct this time...)

Screenshot

Code_k7imWQpXnI

@Calinou Calinou added the bug label Apr 27, 2022
Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

Thanks!

@Calinou Calinou merged commit fb96098 into godotengine:master Apr 27, 2022
@DaelonSuzuka DaelonSuzuka deleted the more-highlight-fixes branch May 11, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants