[Tutor] Spell checking source code?

W W srilyk at gmail.com
Tue Jun 2 13:10:36 CEST 2009


On Tue, Jun 2, 2009 at 3:15 AM, ALAN GAULD <alan.gauld at btinternet.com>wrote:

>
> > From: "worminater at gmail.com" <worminater at gmail.com>
> > To: Alan Gauld <alan.gauld at btinternet.com>
> > Sent: Tuesday, 2 June, 2009 1:09:39 AM
> > Subject: Re: [Tutor] Spell checking source code?
> >
> > In vim,
> >
> > :set spell
> > :set nospell
> > :help spell
>
>
> But that will check the whole file. The OP only wanted to spell
> check the comments. Unless I'm missing something?


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?
-Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090602/fe71a494/attachment.htm>


More information about the Tutor mailing list