Skip to content
This repository was archived by the owner on Feb 20, 2022. It is now read-only.

Fix lambda matching#31

Closed
evhub wants to merge 1 commit into
petervaro:masterfrom
evhub:master
Closed

Fix lambda matching#31
evhub wants to merge 1 commit into
petervaro:masterfrom
evhub:master

Conversation

@evhub

@evhub evhub commented Sep 22, 2015

Copy link
Copy Markdown

I've been using your theme for a while now and ran into a problem where I tried to use a variable named like lambda_var and it got highlighted as if it was a lambda, when it was in fact just a variable. I added a word boundary to the end of the regex you use to check for the presence of a lambda to fix that problem.

Prevents matching of `lambda_var` as a lambda.
@petervaro

Copy link
Copy Markdown
Owner

Ahh, that's a nice catch!

I'm definitely going to merge it, right now, I'm pretty busy (the usual: very close deadlines for another project) but after 10th of october, I will release a new and updated version (Python 3.5, which is almost finished) and will use your improvements as well! (Even if I merge your corrections it still needs to be published on the other two branches for ST package manager to detect the changes, so that's teh reason for the delay.)

Cheers!

@petervaro

Copy link
Copy Markdown
Owner

fixed in the latest release: 3.0.1

@petervaro petervaro closed this Nov 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants