Just load impatient from init
if will be called multiple times if present in lazy_load.lua which is totallly unnecessary why even from there ? Yes, this does not affect the --startuptime
This commit is contained in:
committed by
Sidhanth Rathod
parent
a20fc560f3
commit
78ddf8d624
@@ -10,7 +10,6 @@ M.lazy_load = function(tb)
|
||||
callback = function()
|
||||
if tb.condition() then
|
||||
vim.api.nvim_del_augroup_by_name(tb.augroup_name)
|
||||
pcall(require, "impatient")
|
||||
|
||||
-- dont defer for treesitter as it will show slow highlighting
|
||||
-- This deferring only happens only when we do "nvim filename"
|
||||
|
||||
Reference in New Issue
Block a user