Comments (3)
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.
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.
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)
- bug: Plugin reloads on each startup HOT 2
- [Question] about checking if a plugin is loaded or not HOT 2
- feature: system binary dependencies HOT 7
- feature: More verbose initial installation steps HOT 7
- bug: attempt to call method 'flatten' HOT 2
- feature: update all plugins under selection
- feature: sponsoring HOT 1
- bug: deactivate detection for nvim-lspconfig not working as intended HOT 1
- bug: vimrc's plugin not loaded after using Lazy.vim HOT 1
- Temple
- feature: Allow plugins to configure dependencies
- question: can i register plugins in different directories
- bug: E5108: Error executing lua: ...ta/Local/nvim-data/lazy/lazy.nvim/lua/view/init.lua: 300: attempt to call filed "keyc stack
- feature: handle plugins with `setup` that has multiple parameters HOT 2
- ci: Actions are outdated/deprecated HOT 2
- Just installed lazy nvim, immediately got problem (due to noobie)
- Canβt use lazy package manager in disconnected env HOT 1
- bug: Lockfile is not fully deterministic HOT 2
- feature: load local_spec from git / project root if not found in current directory
- bug: When defining custom keymaps, the default keymaps are not set HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazy.nvim.