ganezdragon / tree-sitter-perl

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

Broken syntax after a line of code #30

Closed brneor closed 1 year ago

brneor commented 1 year ago

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

sub mySub {
  my $randomBytes = `head -c 32 /dev/urandom`; # After this line there's no syntax highlighting anymore
  return encode_base64url($randomBytes);
}

sub _log {
  my ($text) = @_;
  print encode_utf8($text) . "\n";
}
ganezdragon commented 1 year ago

@brneor , backtick quotes aren't supported as of now. Let me work on this soon.

ganezdragon commented 1 year ago

this should work now. closing it.

brneor commented 1 year ago

@ganezdragon ty for your attention and speed on this one :)