Claus Atzenbeck wrote:
Hi,
I use Vim 7.0 (on Mac OS 10.4.9). Spell checking works perfectly,
however, not when editing HTML files. Even after typing ":setlocal spell
spelllang=en_us", I don't get any error marks.
Other files, such as plain text or LaTeX, work perfectly with spell
checking.
Any idea why this could be the case?
Thanks,
Claus
I don't know; when I use ":setl spell spellang=fr" in an HTML file in
15th-century French, all words whose orthography changed since then are
highlighted with red curly underline.
However, I notice that the spell checker doesn't understand entities:
"où" is highlighted as a misspelling even though "où" is a valid word
in modern French.
You have set filetype recognition and syntax highlighting, haven't you?
What's the date of your syntax/html.vim (as shown in one of the comment liunes
near the top)? Mine is dated 2006 Jun 19.
Best regards,
Tony.
--
Green light in a.m. for new projects. Red light in P.M. for traffic
tickets.