Monday, February 22, 2010

Re: Using matchit.vim with an odd file extension

Gary Johnson wrote in news:20100222180653.GA4356@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

--
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

No comments: