[fpc-pascal] PASCAL programming for Novice
Pete Cervasio
cervasio at airmail.net
Sun Jun 10 04:00:09 CEST 2007
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.
More information about the fpc-pascal
mailing list