mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 03:24:13 +00:00
feat(ui): add option to disable lazy.nvim installer interface
This commit is contained in:
parent
96584866b9
commit
630a34da82
4 changed files with 7 additions and 1 deletions
|
@ -464,6 +464,8 @@ return {
|
|||
-- Track each new require in the Lazy profiling tab
|
||||
require = false,
|
||||
},
|
||||
-- Show the lazy.nvim installer interface
|
||||
show_ui = true,
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -567,6 +567,8 @@ CONFIGURATION *lazy.nvim-lazy.nvim-configuration*
|
|||
-- Track each new require in the Lazy profiling tab
|
||||
require = false,
|
||||
},
|
||||
-- Show the lazy.nvim installer interface
|
||||
show_ui = true,
|
||||
}
|
||||
<
|
||||
|
||||
|
|
|
@ -174,6 +174,7 @@ M.defaults = {
|
|||
-- Track each new require in the Lazy profiling tab
|
||||
require = false,
|
||||
},
|
||||
show_ui = true,
|
||||
debug = false,
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,8 @@ function M.install_missing()
|
|||
end
|
||||
end
|
||||
Cache.reset()
|
||||
require("lazy.manage").install({ wait = true, lockfile = true, clear = false })
|
||||
|
||||
require("lazy.manage").install({ show = Config.options.show_ui, wait = true, lockfile = true, clear = false })
|
||||
-- remove any installed plugins from indexed, so cache will index again
|
||||
for _, p in pairs(Config.plugins) do
|
||||
if p._.installed then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue