http://qs1969.pair.com?node_id=246447


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

  • Comment on Re: Re: Re: Re: Re: Using vim for highlighting in Perl

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.