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 too eager URL highlighting #3

Merged
merged 1 commit into from
Jul 13, 2018
Merged

Conversation

geigerzaehler
Copy link
Contributor

@geigerzaehler geigerzaehler commented Jul 13, 2018

Before, the string } // in {} // {} was highlighted as a URL. We make sure we match literal dots instead of any character. We also define the URL match before the operators so that the operator highlighting for // takes precedence.

Before the string "} //" in "{} // {}" was highlighted as a URL. We make
sure we match literal dots instead of any character. We also define the
URL match before the operators so that the operator highlighting for
"//" takes precedence.
@vmchale vmchale merged commit b061ade into vmchale:master Jul 13, 2018
@geigerzaehler geigerzaehler deleted the url-fix branch July 13, 2018 13:14
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.

None yet

2 participants