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

Incorrect colors applied to parentheses in nested function calls #26

Closed
fabiendelpierre opened this issue Aug 10, 2017 · 4 comments
Closed
Labels

Comments

@fabiendelpierre
Copy link

Hi there,
I'm using v0.13.0 of your highlighter and I believe I found a minor bug in the way colors are applied in a particular scenario, example screencap here:
screenshot
In the md5(timestamp()) bit on the right, I don't think the right paren in timestamp() should be orange. In case it matters, this is in an aws_rds_cluster resource. Let me know if you have any questions!

@alexlouden
Copy link
Collaborator

Hey Fabien,

Thanks for reporting this! I think it's just ignoring the 'timestamp' function so it's matching the first closing bracket - should be an easy fix. I'll let you know when I've fixed it and put out a new release.

Thanks,
Alex

@fabiendelpierre
Copy link
Author

👍

@alexlouden
Copy link
Collaborator

Hey Fabien,

I've put out a fix which works for me - could you give it a shot when your Sublime has updated to the latest version?

screen shot 2017-08-11 at 11 23 25 am

Cheers,
Alex

@alexlouden alexlouden added the bug label Aug 11, 2017
@fabiendelpierre
Copy link
Author

Looks good to me now, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants