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 = ''
|
||||
lua << EOF
|
||||
if vim.loader then
|
||||
vim.loader.enable()
|
||||
end
|
||||
|
||||
pcall("require", impatient)
|
||||
|
||||
require "opdavies.globals"
|
||||
|
|
Loading…
Reference in a new issue