mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
refactor: move handlers to its own file
This commit is contained in:
parent
870d8924f7
commit
05a0da532b
5 changed files with 169 additions and 180 deletions
|
@ -54,7 +54,7 @@ function M.setup()
|
|||
|
||||
-- preload core modules
|
||||
local root = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h:h")
|
||||
for _, name in ipairs({ "util", "config", "loader", "plugin" }) do
|
||||
for _, name in ipairs({ "util", "config", "loader", "plugin", "handler" }) do
|
||||
local modname = "lazy.core." .. name
|
||||
---@diagnostic disable-next-line: no-unknown
|
||||
package.preload[modname] = function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue