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

Reply via email to