11f8479593
Since the window numbers can change when opening and closing windows Tagbar so far has used bufwinnr() to find the right window to jump back to. However, this fails if the same file is being displayed in more than one window. Save a window-local variable instead to detect the correct window to jump back to. |
||
---|---|---|
autoload | ||
doc | ||
plugin | ||
syntax | ||
.gitattributes | ||
.gitignore | ||
.info | ||
README.md |
Overview
Tagbar is a vim plugin for browsing the tags of source code files.
It provides a sidebar that displays the ctags-generated tags of the current file, ordered by their scope. This means that for example methods in C++ are displayed under the class they are defined in.
Check out the homepage at http://majutsushi.github.com/tagbar/ for more information.
Important: If the file structure is displayed wrong
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 a bug. Since Tagbar uses exuberant-ctags and compatible programs to do the actual file parsing, it is likely that the bug is actually in one of those programs 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!
You can also have a look at ctags bugs that have previously been filed on Tagbar here:
https://github.com/majutsushi/tagbar/issues?labels=ctags-bug&page=1&state=closed