Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: Re: Re: Using vim for highlighting in Perl

by tachyon (Chancellor)
on Mar 28, 2003 at 11:00 UTC ( [id://246447] : note . print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Using vim for highlighting in Perl
in thread Using vim for highlighting in Perl

The =cu was a cut and paste typo. I have been just letting it default (>>seems<< to be using perl syntax on .pl files as normal code is now fine(ish)) The pod above highlights with all sorts of highlights - like a very broken syntax highlight. I will grab the patch off you pad. Thanks very much. I have the latest syntax files now from the maintainer which still wierd out on this pod. It is usually several 1000 lines down at the end of the code.

I guess I will just have to fix it myself.

A PI 166? Even my linux devel box is a PII 266. My last PI just died of natural causes. I generally get to run vim on server class boxes which usually have multiple PIII Xeons > 1GHz and lots of RAM so speed is rarely an issue.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Using vim for highlighting in Perl
by zakb (Pilgrim) on Mar 28, 2003 at 11:27 UTC

    Ok. You can find out what filetype vim thinks your file is - and thus which syntax - by doing :set ft?.

    Just another quick thought - you might want to do a let perl_include_pod = 1 which might fix highlighting POD in perl code.