On Mon, May 15, 2006 at 12:01:35PM -0500, Donal wrote:
> 
> Here is my vim\myfiletypes.vim
> 
> " myfiletypes.vim
> augroup filetype
> " FoxPro
> au! BufRead,BufNewFile *.prg,*.mpr,*.spr        set filetype=foxpro
> " Cold Fusion
> au BufNewFile,BufRead *.cfm,*.cfi,*.cfc setf cf
> au! BufRead,BufNewFile *.cfml,*.cfm                     set filetype=cf
> augroup END
> 
> What am I doing wrong?

     My first guess is that

:au filetype BufRead

will give you the hint you need.

HTH                                     --Benji Fisher

Reply via email to