Note: Beware! Default reply-to is to the list.

On Sun, Jun 5, 2011 at 12:45 PM, Anne Wainwright
<anothera...@fables.co.za> wrote:
>
> when I have run perltidy I like to compare to the original file, but
> the extension .pl.tdy does not pick up.
>
> I have been looking this morning but cannot find what I need -
> somewhere to add in '.tdy' so that it gets the perl syntax highlighting.
>
> can someone give me a pointer please?

In your .vimrc:

autocmd BufRead *.pl.tdy setlocal filetype=perl
_______________________________________________
Za-pm mailing list
Za-pm@pm.org
http://mail.pm.org/mailman/listinfo/za-pm

posts also archived on Mail Archive
http://www.mail-archive.com/za-pm@pm.org/

Reply via email to