mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-20 13:26:45 +00:00
feat(minit): fallback to habamax when no colorscheme set
This commit is contained in:
parent
3078688263
commit
88f4d13e5f
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,9 @@ function M.setup(opts)
|
||||||
|
|
||||||
vim.o.loadplugins = true
|
vim.o.loadplugins = true
|
||||||
require("lazy").setup(opts)
|
require("lazy").setup(opts)
|
||||||
|
if vim.g.colors_name == nil then
|
||||||
|
vim.cmd("colorscheme habamax")
|
||||||
|
end
|
||||||
require("lazy").update():wait()
|
require("lazy").update():wait()
|
||||||
if vim.bo.filetype == "lazy" then
|
if vim.bo.filetype == "lazy" then
|
||||||
local errors = false
|
local errors = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue