mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: added support for nvim --headless "+Lazy! sync" +qa
This commit is contained in:
parent
bc617474a0
commit
2e14a2f324
2 changed files with 25 additions and 21 deletions
|
@ -43,12 +43,10 @@ M.hover = "K"
|
|||
---@type string?
|
||||
M.mode = nil
|
||||
|
||||
function M.setup()
|
||||
require("lazy.view.commands").setup()
|
||||
require("lazy.view.colors").setup()
|
||||
end
|
||||
|
||||
function M.show(mode)
|
||||
if Config.headless then
|
||||
return
|
||||
end
|
||||
M.mode = mode or M.mode or "home"
|
||||
require("lazy.view.colors").setup()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue