When you write a perl block with perl %§ or perl %~ syntax highlighting works withing the block as expected; but after that block ends, the rest of the file still has perl highlighting.
Steps to Reproduce
Latest commit.
Write the following at the end of your kakrc:
perl %{
print 'echo works as normal'
}
perl %~
print 'echo within this block, syntax highlighting works fine as well'
~ # everything after this point still has perl syntax highlighting
perl %{ # for instance, this perl keyword isn't colored
print 'everytthin'
}
this hook isn't properly highlighted
hook -once global WinCreate .* %{ echo "testing" }
if you type $a, it will be colored like it would in perl.
Issue Description
When you write a perl block with
perl %§
orperl %~
syntax highlighting works withing the block as expected; but after that block ends, the rest of the file still has perl highlighting.Steps to Reproduce
perl %~ print 'echo within this block, syntax highlighting works fine as well' ~ # everything after this point still has perl syntax highlighting
perl %{ # for instance, this
perl
keyword isn't colored print 'everytthin' }this hook isn't properly highlighted
hook -once global WinCreate .* %{ echo "testing" }
if you type $a, it will be colored like it would in perl.
$a # uncomment this to try it ^