<div class="gmail_quote">On Tue, Jun 2, 2009 at 3:15 AM, ALAN GAULD <span dir="ltr"><<a href="mailto:alan.gauld@btinternet.com">alan.gauld@btinternet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
> From: "<a href="mailto:worminater@gmail.com">worminater@gmail.com</a>" <<a href="mailto:worminater@gmail.com">worminater@gmail.com</a>><br>
> To: Alan Gauld <<a href="mailto:alan.gauld@btinternet.com">alan.gauld@btinternet.com</a>><br>
> Sent: Tuesday, 2 June, 2009 1:09:39 AM<br>
> Subject: Re: [Tutor] Spell checking source code?<br>
><br>
> In vim,<br>
><br>
> :set spell<br>
> :set nospell<br>
> :help spell<br>
<br>
<br>
But that will check the whole file. The OP only wanted to spell<br>
check the comments. Unless I'm missing something?</blockquote><div><br></div><div>Shouldn't be too difficult to write a vim script to check only # to EOL, ' to ', " to ", ''' to ''' and "" to """. I think that's the only non-code available?</div>
<div>-Wayne </div></div>