preservim / tagbar

Vim plugin that displays tags in a window, ordered by scope
https://preservim.github.io/tagbar
Other
6.12k stars 486 forks source link

Potential fix for #772 - InitWindow issue #773

Open raven42 opened 3 years ago

raven42 commented 3 years ago

Potential fix for #772

This issue is being caused by the InitWindow() routine not being called when a split of the tagbar window occurs. This will potentially fix that issue by forceably calling s:InitWindow() when a new tagbar window is found.

Note however, that when closing one of the split tagbar windows, it does cause the other one to close as well. It looks like there is an issue on the close processing that it identifies all windows that have the tagbar buffer loaded as the tagbar window.

raven42 commented 3 years ago

This is not a fully functional fix. After some testing I've found odd interactions with other plugins. Still need to look into why.