fix(config): disable LazyFile till v10.0

This commit is contained in:
Folke Lemaitre committed 2023-10-11 14:46:08 +02:00
1 parent 8e88aa51f4
commit ee7a401388
1 file changed
+2
+2
View File
@@ -278,6 +278,7 @@ function M.init()
M.use_lazy_file = M.use_lazy_file and vim.fn.argc(-1) > 0
---@diagnostic disable-next-line: undefined-field
M.use_lazy_file = M.use_lazy_file and require("lazy.core.handler.event").trigger_events == nil
M.use_lazy_file = false -- disablle for now till v10.0
-- delay notifications till vim.notify was replaced or after 500ms
require("lazyvim.util").lazy_notify()
@@ -314,6 +315,7 @@ function M.init()
events[#events + 1] = event
end
end
plugin.event = events
end
end
end