Search code examples
c++vimhighlighting

why vim-easytags don't highlight my class?


I'm trying to use vim for coding, but i got stuck in this issue. I installed the vim-easytags and i want to highlight my class, but it's only highlighting my structures:

enter image description here

Here is my .vimtags file:

enter image description here

It's possible to see that my class Joselito was not tagged.

Anyone knows how to solve this?


Solution

  • If the class definition is not contained in your tags file, the EasyTags plugin cannot be blamed for not highlighting it. Instead, you have to look into why the entry is missing from your tags file. Possible causes:

    • outdated / buggy version of (I guess you use) Exuberant Ctags
    • wrong (C instead of C++) file type detected