Fix shell heredoc token #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fixHereDocToken"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A heredoc token cannot contains whitespaces. If we don't add this rule, we will have a wrong coloration when the heredoc is, for example, piped into a second command.
on the main branch,
barwill be colorized like the heredoc. With the correction, it will have the correct color.The correction is not perfect as the pipe shouldn't be colorized like the heredoc, but it's a first step.
That regexp seems be written to also allow quoted tokens. I'd assume those can contain whitespace?
Ok, fixing it ASAP
Is it better @marijnh ?
Yes, looks good now.