Neovim freezes a bit when opening files. #300
Replies: 4 comments 10 replies
-
This is because Hope this can give you some inspiration 👍
|
Beta Was this translation helpful? Give feedback.
-
I just install it in arch(WSL), it still has the 2sec delay. So I think it's not about distros. |
Beta Was this translation helpful? Give feedback.
-
I think I found one small improvement, which is to stop using anaconda. |
Beta Was this translation helpful? Give feedback.
-
@ayamir I think I know why u got freezed while doing |
Beta Was this translation helpful? Give feedback.
-
I recently notice that my nvim freeze a bit(about 2 sec) when opening any ranbom files, e.g.
nvim plugins.lua
.However, this kind of "freezing" never shows up when only use
nvim
to open up alpha startup page, it feels very snappy, like 0 sec that kind of fast.For the record, my startup time is ~22ms with my own config, ~40ms with this repo's config. (on 0.9.0-dev)
I'm currently running nvim on Ubuntu22.04(WSL).
I also tested it on 0.9.0-dev and 0.8.0 release, with my own config, but unfortunately both versions has that "2 sec" delay somehow.
I also tried to cut down my plugins form over 100 to ~80, but it still has that kind of delay. (Althogh most of my plugins are lazy-loaded, it shouldn't effect the startup time.)
I tried it on both
Windows Terminal
andAlacritty
, in and out oftmux
, all the same.Profile.log looks pretty normal too. I'm really out of moves.
@ayamir @Jint-lzxy @jczhang02 May I ask for your help? Or do you guys have the same issue like mine?
Here's my config. I'll be really appreciate if someone can take a look. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions