fix: impatient loading order

This commit is contained in:
nullchilly 2022-08-07 12:26:15 +07:00 committed by Sidhanth Rathod
parent 20f45c3962
commit aee1c8b830
67 changed files with 97276 additions and 4 deletions

View file

@ -10,6 +10,7 @@ M.lazy_load = function(tb)
callback = function()
if tb.condition() then
vim.api.nvim_del_augroup_by_name(tb.augroup_name)
require "impatient"
-- dont defer for treesitter as it will show slow highlighting
-- This deferring only happens only when we do "nvim filename"

View file

@ -226,10 +226,7 @@ local plugins = {
-- Speed up deffered plugins
["lewis6991/impatient.nvim"] = {
event = "VimEnter",
config = function()
vim.defer_fn(function() require "impatient" end, 0)
end,
module = "impatient"
},
}