New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tagbar working for all filetypes but C #488

Open
pierz opened this Issue Apr 9, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@pierz

pierz commented Apr 9, 2018

I've installed and been using tagbar with airline and it works fine with C++/Python and others but it doesn't seem to work with 'C' files - I wondered if there might a way to fix/debug this? If I do :TagbarToggle it only show one function in the tagbar when there are a number of functions in the c file. I wasn't sure what command to put in my vimrc to enabled debugging of tagbar on startup - I have tried running :TagbarDebug after startup but so far no help? I'm using Universal Ctags who's location is set by g:tagbar_ctags_bin.

@nicolaiskogheim

This comment has been minimized.

Show comment
Hide comment
@nicolaiskogheim

nicolaiskogheim Jun 7, 2018

From tagbars website:

If you notice that there are some errors in the way your file's structure is displayed in Tagbar, please make sure that the bug is actually in Tagbar before you report an issue. Since Tagbar uses exuberant-ctags and compatible programs to do the actual file parsing, it is likely that the bug is actually in the program responsible for that filetype instead.

There is an example in :h tagbar-issues about how to run ctags manually so you can determine where the bug actually is. If the bug is actually in ctags, please report it on their website instead, as there is nothing I can do about it in Tagbar. Thank you!

So check out :h tagbar-issues for help with finding out whether this is in tagbar or ctags :)

nicolaiskogheim commented Jun 7, 2018

From tagbars website:

If you notice that there are some errors in the way your file's structure is displayed in Tagbar, please make sure that the bug is actually in Tagbar before you report an issue. Since Tagbar uses exuberant-ctags and compatible programs to do the actual file parsing, it is likely that the bug is actually in the program responsible for that filetype instead.

There is an example in :h tagbar-issues about how to run ctags manually so you can determine where the bug actually is. If the bug is actually in ctags, please report it on their website instead, as there is nothing I can do about it in Tagbar. Thank you!

So check out :h tagbar-issues for help with finding out whether this is in tagbar or ctags :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment