I'm trying to use Vim's builtin spellchecking in some XML documents. This happens merely by having the XML syntax loaded, as seen in the following minimalistic example (which reproduces what I also see in large XML documents):
Note that given two buffers with exactly the same content, when
text, the spellchecking works; when it is
xml, it does not.
spell is set in both buffers.
However, given this view of the top three lines of a large XML document, you can see that the spellchecking is certainly on:
but it is only checking attributes.
The nuisance is that none of the things it is actually finding are mispelled, and it isn't finding any of the numerous misspellings in the document. I would like it at a minimum to find the spelling errors in the body of the document, and being able to turn off the checking on attributes would be a nice option.
I've searched for
@NoSpell in the
xml.vim file, but that returns no hits.