Thursday, July 18, 2013

Re: Incorrect syntax highlight of things like '\r' within EOF block in bash script

On 2013-07-18, John Little wrote:
> On Thursday, 18 July 2013 08:02:02 UTC+12, Peng Yu wrote:
> >
> > vim can not syntax highlight the following script correctly...
>
> Are you asking how to apply tex syntax highlighting to a script
> embedded in a bash script?

That's not the problem, as I understand it. The problem is that Vim
incorrectly highlights the "\r" and the "\e" differently than the
rest of the here document, suggesting that bash treats them
differently, perhaps as carriage-return and escape, when in fact
bash does not treat those pairs differently than the individual
characters they comprise.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment