Excuse my too brief question.
Actually spell is turnned on for xml through my autocmd.
Probelm is that spelling errors do not show up in tags and only in xml comments.
I have to chenge filetype to (say) txt in order to see the typos.
Any suggestions?
On 06/07/06, Benji Fisher <[EMAIL PROTECTED]> wrote:
On Thu, Jul 06, 2006 at 10:00:27AM +0200, Eric Smith wrote:
> How?
If you want to set the 'spell' option, or make other
customizations, when editing xml files, the recommended method is to
create a personal ftplugin file for xml, usually
$HOME/.vim/ftplugin/xml.vim (creating the directory if necessary) and
add the line
set spell
to this file. I do not think the default ftplugin will fight over the
'spell' option, but it gets more complicated if you want to tweak
options that are already set there. For more details, read
:help filetype-plugin
HTH --Benji Fisher
--
Eric Smith