<div dir="ltr"><div>Using a pristine Ubuntu Server 14.04, I saw the messed up highlighting. This means that my configuration for vim has nothing to do with it.<br><br>Here is a script that shows how it is messed up if someone wants to try it out.<br>
<br>#!/bin/bash<br><br># We create a function<br>do_someting() {<br>  # rsync with the following options:<br>  rsync -azRxW -e ssh blah blah <br>}<br><br># Initialize files<br>> $LOG<br>> $IP_CURRENT<br>> $IP_HOME<br>
<br>(<br>  # This comment is not the right color. It is red.<br>  do_something<br><br>  # This is a comment with a ' in it. Messed up what is after it<br>) > $LOG 2>&1<br><br># Another comment<br><br># Another comment with a 'in it. Restores red color<br>
<br></div>And here is a screen shot from the pristine 14.04 install.<br><br><a href="http://i.imgur.com/CiQamyB.png">http://i.imgur.com/CiQamyB.png</a><br><br clear="all"><div><div><div class="gmail_extra"><br>-- <br>Khalid M. Baheyeldin<br>
<a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>Fast Reliable Drupal<br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>
Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>For every complex problem, there is an answer that is clear, simple, and wrong." -- H.L. Mencken<br>
</div></div></div></div>