better-cpp-syntax icon indicating copy to clipboard operation
better-cpp-syntax copied to clipboard

perl syntax highlight problem with $_tmp (_ prefixed variables)

Open gullevek opened this issue 4 years ago • 0 comments

Checklist

  • perl (jeff-hykin.better-perl-syntax)

The code with a problem is:

$_
$_foo
$__foo
$foo
$a_foo

It looks like:

Theme: Monokai

Variables with _ prefix do not highlight Screen Shot 2021-01-26 at 15 24 00

Variable scrop with only _ Screen Shot 2021-01-26 at 15 27 34

Correct variable scope with all other variable names Screen Shot 2021-01-26 at 15 24 28

Wrong scope for _ with letters Screen Shot 2021-01-26 at 15 24 34

It should look like:

All variables prefix with _ and some character following should be highlighted as variables. Currently they are seen als perl source only

gullevek avatar Jan 26 '21 06:01 gullevek