Giter Club home page Giter Club logo

Comments (3)

folke avatar folke commented on July 17, 2024

You can implement something like this yourself using multiple events.

However, this really seems overkill. Just wait till it's loaded, or implement lazy loading to make it faster.

My config loads in about 20ms, so there's really no need to show any kind of progress.

from lazy.nvim.

ilan-schemoul avatar ilan-schemoul commented on July 17, 2024

Do you have any pointers to such event. ?

I mean I don't know if I'm using lazy loading properly but when it's loading something like the tree sitter (required by color scheme) neovim will freeze and I don't know if it's normal but sometimes treesitter and its dependencies (such as tree sitter text objects) takes a solid second to load. So if I could not use lazyloading for colorscheme/treesitter but instead use a loading screen I'd do it. (BTW colorscheme is already max priority and my PC is powerful)

Also turning my 70 plugins into 70 lazy loaded plugins is a lot of work.

But anyway if you say it's overkill I trust you it's just that even 700ms of blank screen feels like freezing

from lazy.nvim.

dpetka2001 avatar dpetka2001 commented on July 17, 2024

The only time I observe a slight delay is when lazy.nvim seems to cache the specs for the first time. After that, every subsequent invocation of Neovim is almost instant. Until the next time that lazy.nvim caches again, I don't observe any significant delay.

@folke Do you happen to know how often lazy.nvim caches the specs? Is it something that can be configured like for example how often to check for plugin updates?

from lazy.nvim.

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.