-
-
Notifications
You must be signed in to change notification settings - Fork 486
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 causes a noticeable delay in opening a ~8000 lines C file #863
Comments
It is not a bug. It is just the way tagbar was originally written and the implementation of vim at the time. It is a completely serialized process. So actually executing the ctags process on the file and processing the results blocks the main vim thread. This plugin has never been updated to run as a background process and those of us helping maintain it are working on it more from just a maintenance perspective rather than a full development cycle. We are very much open to someone helping out if they want to do some of the heavy lifting, but as of now there are no plans to do a major update of the code like this. |
It takes around 4s on my system. Though that number looks small, during opening the file, and on EVERY save, this is very much noticeable.
To reproduce this issue, just try opening
defs.h
file of the crash-utility.I am using
nvim
withvim-plug
to manage the plugins, where I found tagbar to be the problem by commenting and uncommenting the tagbar plugin.This is a very useful plugin, but if this is some bug that can be fixed, it will be great.
Thanks.
The text was updated successfully, but these errors were encountered: