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

Require a break before matching class regex #8

Merged
merged 1 commit into from
Mar 2, 2017

Conversation

schneidmaster
Copy link
Contributor

What: Requires a break before matching the class keyword, to prevent incorrectly matching when class appears at the end of a non-keyword function or variable.

Current behavior:
screenshot 2017-03-01 20 03 36

New behavior:
screenshot 2017-03-01 20 04 04

Why: Fixes #5

Testing: Check out branch, copy syntax/CJSX.sublime-syntax to your Sublime Text packages folder, open a CJSX file in Sublime, and use the command palette to select the new syntax.

@cooncesean cooncesean merged commit 5d35221 into Guidebook:master Mar 2, 2017
@schneidmaster schneidmaster deleted the fix-class branch March 2, 2017 16:03
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