mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-28 22:08:12 +02:00
fix(impatient): avoid get_options in fast handler (#2451)
This commit is contained in:
parent
3de6a404c9
commit
1569202d39
8 changed files with 75 additions and 50 deletions
|
@ -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 }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue