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

Unable to tag struct/union member #65

Open verybada opened 10 years ago

verybada commented 10 years ago

Hi, It was good at mark cmembers, but I when update easytags yesterday, my VIM cant mark cmember anymore.

here is my vimrc and plugin list, can anyone give me some tips? thx

set tags=./.easytags;,~/.vimtags let g:easytags_dynamic_files=2 let g:easytags_include_members=1 highlight cMember term=italic ctermfg=31 gui=italic guifg=#80a0ff

'danro/rename.vim' 'huxiao/vim-bookmark' 'Valloric/YouCompleteMe' 'Townk/vim-autoclose' 'fholgado/minibufexpl.vim' 'cSyntaxAfter' 'taglist.vim' 'scrooloose/nerdcommenter' 'jistr/vim-nerdtree-tabs'

xolox commented 10 years ago

If you revert to a previous release, does it start working again? I might be missing something but this issue is not ringing any bells, as in I can't specifically recall any recent changes to this part of vim-easytags.

verybada commented 10 years ago

yes, it works at version 3.4

og7593 commented 10 years ago

Struct members are not being highlighted for me either. I have the appropriate options set in my .vimrc file.

var-const commented 10 years ago

Hello, Struct members still aren't being highlighted in the latest release. I found out that this breakage occurred in commit 330ec57f84b46268ef5b5ddb21ec2d9a660750d2. Interestingly enough, up until (but not including) release 3.5, the old behavior could be restored by simply reverting the line changed in release 3.4.2, but since 3.5, it's no longer the case. It doesn't seem to matter whether g:easytags_async is 0 or 1.