mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
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
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
function SetTheme(color)
|
function SetTheme(color)
|
||||||
color = color or "rose-pine"
|
color = color or "rose-pine"
|
||||||
vim.cmd.colorscheme(color)
|
vim.cmd.colorscheme(color)
|
||||||
-- vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
-- vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||||
-- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
-- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||||
end
|
end
|
||||||
|
|
||||||
SetTheme("tokyonight")
|
SetTheme("tokyonight")
|
||||||
|
|||||||
Reference in New Issue
Block a user