mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
feat(colorscheme.lua): set default color to "rose-pine" if no color argument is provided feat(colorscheme.lua): set theme to "tokyonight" by default
9 lines
224 B
Lua
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")
|