On 10/15/06, Przemyslaw Gawronski <[EMAIL PROTECTED]> wrote:
> Have you tried it?

Yes, with python code, and I get highlighting of 'def', 'class' (as a
first word in sentence and not capitalized).

I tried with html and php code, and spelling isn't working at all.

> I remember enabling spelling once when I was in a C file, and it only
> underlined the flawed words in comments, the code was pretty much
> ignored...

Well, in my python code it didn't :(

I think you need to change this line in your
$VIMRUNTIME/syntax/python.vim:

syn match   pythonComment       "#.*$" contains=pythonTodo

to this:

syn match   pythonComment       "#.*$" contains=pythonTodo @Spell

and notify syntax maintainer.

Yakov

Reply via email to