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

Perl: Incorrect Syntax Highlighting #25

Open
aeschli opened this issue Jul 17, 2017 · 0 comments
Open

Perl: Incorrect Syntax Highlighting #25

aeschli opened this issue Jul 17, 2017 · 0 comments

Comments

@aeschli
Copy link
Contributor

aeschli commented Jul 17, 2017

From @atif089 on July 14, 2017 11:56

VSCode Version: Code 1.14.0
OS Version: Mac OSX
Configured Language: Perl

The the following code

if ( $product->{url} and $memcached_search ) {
    $product->{url}.=$product->{url}=~m{\?}?";":"?";
    $product->{url}.='s='.$memcached_search.'X'.++$pos;
}

Near ~m{\?}? if you add space between closing } and ? then the syntax looks fine otherwise it looks broken. I'm using the material theme but this appears on any theme.

I think the fix has something to do with the Perl tmLanguage file but I don't know where to find it and what rule I should be looking for :(

Demo : http://i.imgur.com/bjhypxh.gif

Copied from original issue: microsoft/vscode#30699

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

No branches or pull requests

1 participant