Gary Johnson wrote in news:20100222213028.gb4...@kcjs-computer:
> On 2010-02-22, zzapper wrote: >> Gary Johnson wrote in news:20100222180653.ga4...@kcjs-computer: >> >> >> > >> > I don't see an "raa" file type in $VIMRUNTIME/filetype.vim. Do you >> > have your own ~/.vim/filetype.vim or ~/.vim/ftdetect/raa.vim (or the >> > Windows equivalent) that maps the .raa extension to the raa file >> > type? >> > >> > If not, the simplest solution is to create a file named >> > ~/.vim/ftdetect/raa.vim and containing this line. >> > >> > au! BufRead,BufNewFile *.raa set filetype=raa >> > >> > See >> > >> > :help plugin-filetype >> > :help ftdetect >> >> Gary >> Thanks I just needed >> au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm,*.raa call s:FThtml() >> >> in filetype.vim > > You're welcome. > > That will work, but if you do that, you will lose that change the > next time you update your Vim installation. It is strongly > recommended that users do not change anything under $VIMRUNTIME, but > make the appropriate changes under their ~/.vim or ~/vimfiles > directory instead. > > Regards, > Gary > Gary Sussed it now thanks, I needed to create the subdirectory ftdetect -- zzapper http://zzapper.co.uk/ Technical Tips -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php