On Tue, Jun 2, 2009 at 3:15 AM, ALAN GAULD <[email protected]>wrote:

>
> > From: "[email protected]" <[email protected]>
> > To: Alan Gauld <[email protected]>
> > 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
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to