Steps to reproduce:
curl https://raw.github.com/gist/2795766/heredoc.sh | vim -
Version:
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 24 2011 20:00:09)
Compiled by r...@apple.com
For your convenience I've included the syntax file in the gist:
https://gist.github.com/2795766#L334
Am I missing
John,
Thank you! That was what I needed to know.
I've updated the example with the resolution here:
https://raw.github.com/gist/2795766/b7bb35c042313016adfd5e2425ad4954bed436fb/heredoc.sh
For historical purposes the errant version is here:
https://raw.github.com/gist/2795766/bc06f5e3203b825acf016