xolox / vim-easytags

Automated tag file generation and syntax highlighting of tags in Vim
http://peterodding.com/code/vim/easytags/
1.01k stars 109 forks source link

Semantic Highlighting #74

Closed spinlock99 closed 10 years ago

spinlock99 commented 10 years ago

Is there a way to highlight each tag in a different color?

makohoek commented 10 years ago

If you mean changing some colors from the default one, acccording to the doc you should be able to do that. https://github.com/xolox/vim-easytags/blob/master/doc/easytags.txt#L479

If you really meant semantic highlighting (with context awareness), i am afraid that is not possible because the colors are linked to vimgroups

xolox commented 10 years ago

@spinlock99: The documentation explains how to highlight different types of tags with different colors. However if you're really thinking about semantic highlighting then Vim, Exuberant Ctags and the vim-easytags plug-in will all be a disappointment, because they hardly understand any context at all. I'm afraid this is inherent to how Exuberant Ctags is constructed so I don't see this changing.

@kir0gawa: Thanks for replying with a helpful suggestion :-)

xolox commented 10 years ago

I'll go ahead and close this issue now because what you want is either 1) already documented or 2) not possible. If I misinterpreted your question then by all means feel free to reopen this issue. Happy Vimming!