Files
omarchy/config/nvim/lua/plugins/theme.lua

23 lines
433 B
Lua
Raw Normal View History

local uv = vim.uv
local file_path = vim.fn.expand("~/.config/omarchy/current/theme/neovim.lua")
-- Default configuration
local default = {
2025-06-01 11:39:15 +02:00
{
"LazyVim/LazyVim",
opts = {
colorscheme = "tokyonight",
},
},
}
-- Try to load custom theme, fallback to default
if uv.fs_stat(file_path) then
local success, result = pcall(dofile, file_path)
if success and type(result) == "table" then
return result
end
end
return default