Files
absolute-vim/lua/absolute/after/colorscheme.lua
David Ibia 3e331e02b6 refactor(colorscheme.lua): clean up indentation and remove commented out code
feat(colorscheme.lua): set default color to "rose-pine" if no color argument is provided
feat(colorscheme.lua): set theme to "tokyonight" by default
2024-01-13 23:55:39 +01:00

9 lines
224 B
Lua

function SetTheme(color)
color = color or "rose-pine"
vim.cmd.colorscheme(color)
-- vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
-- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
end
SetTheme("tokyonight")