Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim plugin for coloring macros

Tags:

vim

Is there any way to highlight defined variables or macros in Vim? Is there any plugin which does that. For example:

 #define MONITORING_OFF 0

 change_monitoring(MONITORING_OFF);

In the above example, is there any way to highlight MONITORING_ON?

(I am using Vim on windows with ctags enabled.)

Thanks

like image 409
agent.smith Avatar asked Jan 21 '26 18:01

agent.smith


1 Answers

It is worth to mention Easytags plugin that, in addition to automatic tags file update, supports dynamic syntax highlighting of tags occurrences.

like image 95
ib. Avatar answered Jan 24 '26 18:01

ib.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!