Hi
Is it possible to write a function that highlight the #define macros?
For example; if I have the following defines:
#define PI 3.14159
#define MAX 10
#define MIN 0
is it then possible to give PI MAX and MIN anywhere used in the file
to give it the color brown?
So in the lines below PI and MAX would be colored brown.
[...]
Area = PI * r * r;
Circumference = 2 * r * PI;
if (i < MAX)
{
[...]
}
[...]
Rgds,
Jeri
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---