|
@@ -99,8 +99,8 @@ M.setup = function()
|
|
-- ref: https://github.com/neovim/neovim/issues/18201#issuecomment-1104754564
|
|
-- ref: https://github.com/neovim/neovim/issues/18201#issuecomment-1104754564
|
|
local colors = vim.api.nvim_get_runtime_file(("colors/%s.*"):format(lvim.colorscheme), false)
|
|
local colors = vim.api.nvim_get_runtime_file(("colors/%s.*"):format(lvim.colorscheme), false)
|
|
if #colors == 0 then
|
|
if #colors == 0 then
|
|
- Log:warn(string.format("Could not find '%s' colorscheme", lvim.colorscheme))
|
|
|
|
- lvim.colorscheme = "tokyonight"
|
|
|
|
|
|
+ Log:debug(string.format("Could not find '%s' colorscheme", lvim.colorscheme))
|
|
|
|
+ return
|
|
end
|
|
end
|
|
|
|
|
|
vim.g.colors_name = lvim.colorscheme
|
|
vim.g.colors_name = lvim.colorscheme
|