ganezdragon / tree-sitter-perl

a perl parser for javascript
MIT License
33 stars 9 forks source link

Syntax highlighting breaks after a line with string interpolation #35

Closed brneor closed 6 months ago

brneor commented 1 year ago

I'm using tree-sitter-perl through treesitter.nvim

my $var1 = "This is the value of my first variable";

# If there's anything after '${var1}' inside the double quotes highlighting is broken from this point:
my $var2 = "Content of my first variable is ${var1}!"; 

print('Now evertyhing is broken');
ganezdragon commented 6 months ago

@brneor this should be working now :) Thanks for reporting it.

brneor commented 6 months ago

Yep, it's working indeed. Ty very much!

I've collected some new syntax breaking situations which I'll be reporting on another issue.