local M = {} -- List of installed colorschemes M.themes = { "tokyonight", "catppuccin", "gruvbox" } -- Picker function function M.pick() vim.ui.select(M.themes, { prompt = "Choose Colorscheme:", }, function(choice) if choice then -- Load lazy plugin if needed pcall(require, choice) -- Apply the colorscheme vim.cmd.colorscheme(choice) end end) end return M