mirror of https://github.com/folke/lazy.nvim.git
feat(minit): fallback to habamax when no colorscheme set
This commit is contained in:
parent
3078688263
commit
88f4d13e5f
|
@ -35,6 +35,9 @@ function M.setup(opts)
|
|||
|
||||
vim.o.loadplugins = true
|
||||
require("lazy").setup(opts)
|
||||
if vim.g.colors_name == nil then
|
||||
vim.cmd("colorscheme habamax")
|
||||
end
|
||||
require("lazy").update():wait()
|
||||
if vim.bo.filetype == "lazy" then
|
||||
local errors = false
|
||||
|
|
Loading…
Reference in New Issue