On Saturday 09 June 2007 18:46:17 Francisco Reyes wrote: > Daniël Mantione writes: > > It doesn't look for .p by default. Rename to .pas or .pp. > > Ok thanks. > Using .p because that is what vim checks for. Will figure out how to change > vim to look for .pp for the coloring.
Contents of $HOME/.vim/filetype.vim: " my filetype file if exists("did_load_filetypes") finish endif augroup filetypedetect au! BufRead,BufNewFile *.pp setfiletype pascal augroup END Best regards, Pete C. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal