[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Syntax Highlighting variables

From: Dan Cardamore
Subject: Syntax Highlighting variables
Date: Thu, 7 Jun 2001 15:54:33 -0400
User-agent: Mutt/1.3.17i

How can I get emacs to fontify my variables in color after they're

For example in C++:

int a;   // a is green which is what I want
a = 1;   // a is plain white now just like normal text (I want green
         //     again)

Or in Perl:

my $var;   # $var is green
$var = 1;  # $var is white again.

I already have font-lock-maximum-decoration set to true.

Thanks for any help,


      Dan Cardamore     
  3:51pm  up 27 days, 18:20,  4 users,  load average: 0.12, 0.12, 0.11

reply via email to

[Prev in Thread] Current Thread [Next in Thread]