Loading ...
Sorry, an error occurred while loading the content.
 

Re: syntax based on position

Expand Messages
  • Mikolaj Machowski
    ... Thanks :) Life changing thing. Mikolaj
    Message 1 of 3 , Oct 31, 2002
      On Wed, Oct 30, 2002 at 02:40:44PM -0500, digitect@... wrote:
      > From: "Mikolaj Machowski" <mikmach@...>
      > > Is it possible to define syntax highlighting based on position in
      > > the file not syntax?
      > Yes it is, I was just experimenting with this last night.
      > You need to use the "syntax match" syntax (:help syn-define).
      > Then use one of the available regexp position patterns:
      > :help \%^ or \%$ or \%# or \%l or \%c or \%v

      Thanks :) Life changing thing.

      Mikolaj
    Your message has been successfully submitted and would be delivered to recipients shortly.