mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
12 lines
344 B
Lua
12 lines
344 B
Lua
local colorscheme = vim.g.pcode_colorscheme or "gruvbox-baby"
|
|
|
|
if substring(tostring(colorscheme), "sonokai") then
|
|
colorscheme = "sonokai"
|
|
elseif substring(tostring(colorscheme), "material") then
|
|
colorscheme = "material"
|
|
end
|
|
|
|
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
|
|
if not status_ok then
|
|
return
|
|
end
|