mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
12 lines
388 B
Lua
12 lines
388 B
Lua
local colorscheme = pcode.colorscheme or "gruvbox-baby"
|
|
|
|
if substring(tostring(colorscheme), "sonokai") then
|
|
colorscheme = "sonokai"
|
|
elseif substring(tostring(colorscheme), "material") then
|
|
colorscheme = "material"
|
|
end
|
|
|
|
local ok, _ = pcall(vim.cmd.colorscheme, colorscheme)
|
|
if not ok then
|
|
require("notify")("Colorscheme '" .. colorscheme .. "' not found!", "error")
|
|
end
|