Coder Social home page Coder Social logo

Slow on large file (cursor lag) about tagbar HOT 3 OPEN

YuCao16 avatar YuCao16 commented on June 2, 2024
Slow on large file (cursor lag)

from tagbar.

Comments (3)

raven42 avatar raven42 commented on June 2, 2024

We have tried various methods to have tagbar run as a background task, but so far we haven't been successful in getting it to function seamlessly. There was a PR a while back that added the g:tagbar_file_size_limit option to not run tagbar on file sizes that are too large.

PRs are always welcome if someone has any expertise in the matter, but I don't have that expertise or frankly the time to rework much of this plugin at this time. I jumped in as a user of tagbar and started to help out adding smaller features and fixing bugs that I can, but this has been more of a side project that I've been able to spend time on as I have it.

So unfortunately we don't really have a good fix for this at this time. As I said though, PRs are welcome. I'll leave this issue open for the time being incase anyone with more expertise in the matter has time and the inclination to address it, but I fear we may be out of luck for this one for the time being.

from tagbar.

YuCao16 avatar YuCao16 commented on June 2, 2024

I'll leave this issue open for the time being incase anyone with more expertise in the matter has time and the inclination to address it, but I fear we may be out of luck for this one for the time being.

Agree, that's too sad.

from tagbar.

pidgeon777 avatar pidgeon777 commented on June 2, 2024

Maybe a rewrite of tagbar in LUA could help? A tagbar.nvim plugin.

Anyway, I also confirm the laggy cursor movements when running tagbar on big files.

Unfortunately, after running tagbar on a big file, this lag persists even switching to a small buffer, even if tagbar is not run in it, and I'm forced restarting Neovim.

Tested with Neovim v0.8.3 stable, on Windows 10.

from tagbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.