mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: automatically detect config module changes in or oustside Neovim and reload
This commit is contained in:
parent
fbfa790d46
commit
7b272b6ed6
6 changed files with 94 additions and 8 deletions
|
@ -115,7 +115,6 @@ end
|
|||
|
||||
---@param opts? ManagerOpts
|
||||
function M.clean(opts)
|
||||
Plugin.update_state()
|
||||
M.run({
|
||||
pipeline = { "fs.clean" },
|
||||
plugins = Config.to_clean,
|
||||
|
@ -123,7 +122,7 @@ function M.clean(opts)
|
|||
end
|
||||
|
||||
function M.clear()
|
||||
Plugin.update_state()
|
||||
Plugin.load()
|
||||
for _, plugin in pairs(Config.plugins) do
|
||||
plugin._.updated = nil
|
||||
plugin._.cloned = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue