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 incorrect matching of Express/Mocha keywords. #11

Merged
merged 1 commit into from
May 22, 2017

Conversation

schneidmaster
Copy link
Contributor

I first noticed this incorrect syntax highlighting:
screenshot 2017-05-20 18 32 00

which I then noticed will generally match incorrectly whenever one of the keywords appears with 1+ spaces in front of it:
screenshot 2017-05-20 18 33 20

I traced the problem to this rule. While researching what that rule does, I found the same rule here in sublime-better-coffeescript -- I assume sublime-cjsx is a derivative of that project. sublime-better-coffeescript had the tweak to the rule that I'm submitting in this PR, which seems to fix the problem:
screenshot 2017-05-20 18 44 36

PS: after merging (if this looks good), could y'all cut a new release on Package Control? I don't think that ever got done after my previous contributions :) thanks!

@cooncesean cooncesean merged commit 8ab2927 into Guidebook:master May 22, 2017
@cooncesean
Copy link
Contributor

Thanks Zach 👍

@schneidmaster schneidmaster deleted the fix-it branch May 22, 2017 15:30
@schneidmaster
Copy link
Contributor Author

No problem! Thanks for promptly merging 😄

@schneidmaster
Copy link
Contributor Author

Hey @cooncesean -- sorry to bug you, any chance you could create a new release & update package control? 😄

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.

2 participants