chore(nvim): use vim.loader
Improve startup performance by using `vim.loader`. See https://www.youtube.com/watch?v=ixq3g_D3SVs
This commit is contained in:
parent
c9af4cf4c9
commit
4f2f98069c
|
@ -670,6 +670,10 @@ in
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
lua << EOF
|
lua << EOF
|
||||||
|
if vim.loader then
|
||||||
|
vim.loader.enable()
|
||||||
|
end
|
||||||
|
|
||||||
pcall("require", impatient)
|
pcall("require", impatient)
|
||||||
|
|
||||||
require "opdavies.globals"
|
require "opdavies.globals"
|
||||||
|
|
Loading…
Reference in a new issue