You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not entirely blaming code, but perhaps there is some other interaction that could cause this? After executing :TagbarTogglePause Tagbar continues to update whenever I switch windows or switch buffers within the same window to another supported source file.
The text was updated successfully, but these errors were encountered:
This was a bit tricky. Am I right that you're using the statusline functionality? The problem was that the statusline functions essentially undid the changes that the pause function made so that the pause didn't actually take effect. Additionally even if that didn't happen the statusline would have paused as well which is not very desirable. I have now reworked the functionality so that the window is paused, but the statusline display still applies to the current file. Let me know if something doesn't work with this fix.
dev-hann
added a commit
to dev-hann/tagbar
that referenced
this issue
Sep 18, 2023
The current pause functionality simply removes all the autocommands to
stop updating Tagbar. This has the problem that at the moment the
statusline functions immediately restore the commands so pausing doesn't
work, but even if that didn't happen it would stop the statusline
functionality from working which is not desirable. The solution is to
have a reference to the paused file which will get used by the Tagbar
window, but not the statusline functions.
Not entirely blaming code, but perhaps there is some other interaction that could cause this? After executing :TagbarTogglePause Tagbar continues to update whenever I switch windows or switch buffers within the same window to another supported source file.
The text was updated successfully, but these errors were encountered: