<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>So they are behaving as comments though? it is just VIM showing them in red? have you looked in emacs?<div><br><br><div><hr id="stopSpelling">Date: Wed, 3 Sep 2014 15:28:55 -0400<br>From: kb@2bits.com<br>To: kwlug-disc@kwlug.org<br>Subject: [kwlug-disc] Vim highlighting problem (was: Capturing output in scripts)<br><br><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" target="_blank">http://i.imgur.com/CiQamyB.png</a><br><br clear="all"><div><div><div class="ecxgmail_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>
<br>_______________________________________________
kwlug-disc mailing list
kwlug-disc@kwlug.org
http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</div></div> </div></body>
</html>