Closed lwolfsonkin closed 4 years ago
Thank you for the detailed report! This has helped in isolating the cause, and I'm looking into a fix now. It could take some time though, as I think you've hit upon a real sticking point and shown me a pretty important scenario that just can't be covered by the sort of compromise implementation I currently have in my syntax logic. This is a good thing! Once I fix it, the syntax shall be even stronger ;)
It seems to be the case that
end
doesn't end up correctly highlighted infunction
/begin
/etc blocks when the block's final line that isn't just a comment is a pipeline ending with a comment. I gave a bunch of examples below to show when this does and doesn't trigger.And the text from the screenshot: