mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-29 06:18:18 +02:00
bugfix: Ensure lvim table is valid before calling Log:warn() (#1742)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
This commit is contained in:
parent
3dc24cd0c3
commit
5deb0e57ce
2 changed files with 8 additions and 16 deletions
|
@ -109,13 +109,7 @@ function M:init()
|
|||
}
|
||||
end
|
||||
|
||||
require("lvim.config"):init {
|
||||
config_dir = self.config_dir,
|
||||
}
|
||||
local config = require "lvim.config"
|
||||
config:init {
|
||||
user_config = join_paths(self.config_dir, "config.lua"),
|
||||
}
|
||||
require("lvim.config"):init()
|
||||
|
||||
require("lvim.plugin-loader"):init {
|
||||
package_root = self.pack_dir,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue