How to reduce startup time besides using vim.loader.enable()
?
#116
Replies: 3 comments 9 replies
-
I see its https://github.com/dstein64/vim-startuptime If I run your init, without your config obviously, hotpots load times (on an SSD, but old processor), is a bit under 1ms.
Can you post your |
Beta Was this translation helpful? Give feedback.
-
I guess I have some related issue. But i'm on linux. When i loading neovim it's startup is more than needed
I have added
If I use Any ideas what is going on? |
Beta Was this translation helpful? Give feedback.
-
I'm on arch linux. And there are no symlinks related to neovim config. |
Beta Was this translation helpful? Give feedback.
-
v0.9.0 did fix the path separator problem on Windows. However during testing I found that the startup time (from v0.8 on) is ~2x slower than v0.7.0 and I think that's due to recent versions removing the byte code cache.
I added
vim.loader.enable()
to the first line of my bootstrapping lua file but that made little (~10ms) difference.This happens to me on both Linux and Windows machines so there might be something wrong with my config.
I'd like to know the currently recommended way to use
hotpot.nvim
withlazy.nvim
. Thank you in advance.My current (rather convoluted)
init.lua
withlazy.nvim
andhotpot.nvim
Beta Was this translation helpful? Give feedback.
All reactions