mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 09:48:59 +02:00
perf(config): add LazyVim to the rtp early for faster spec loading
This commit is contained in:
parent
3833a7d1ce
commit
2f16a7b2d9
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ M.did_init = false
|
||||||
function M.init()
|
function M.init()
|
||||||
if not M.did_init then
|
if not M.did_init then
|
||||||
M.did_init = true
|
M.did_init = true
|
||||||
|
vim.opt.rtp:append(require("lazy.core.config").spec.plugins.LazyVim.dir)
|
||||||
-- delay notifications till vim.notify was replaced or after 500ms
|
-- delay notifications till vim.notify was replaced or after 500ms
|
||||||
require("lazyvim.util").lazy_notify()
|
require("lazyvim.util").lazy_notify()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue