fix(impatient): avoid get_options in fast handler (#2451)

This commit is contained in:
kylo252 2022-04-12 11:18:17 +02:00 committed by GitHub
parent 3de6a404c9
commit 1569202d39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 75 additions and 50 deletions

View file

@ -4,6 +4,12 @@ a.describe("plugin-loader", function()
local plugins = require "lvim.plugins"
local loader = require "lvim.plugin-loader"
pcall(function()
lvim.log.level = "debug"
package.loaded["packer.log"] = nil
package.loaded["lvim.core.log"] = nil
end)
a.it("should be able to load default packages without errors", function()
loader.load { plugins, lvim.plugins }