diff options
Diffstat (limited to 'after/plugin/colors.lua')
| -rw-r--r-- | after/plugin/colors.lua | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/after/plugin/colors.lua b/after/plugin/colors.lua deleted file mode 100644 index 2fc22d7..0000000 --- a/after/plugin/colors.lua +++ /dev/null @@ -1,23 +0,0 @@ --- --- COLORS -- --- - -vim.opt.termguicolors = true - -local rp = require('rose-pine') -rp.setup({ - --- @usage 'auto'|'main'|'moon'|'dawn' - variant = 'auto', - disable_italics = true, -}) - -function SetColor(color) - color = color or "rose-pine" -- have a default value - vim.cmd.colorscheme(color) - - vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) - vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) - vim.api.nvim_set_hl(0, "ColorColumn", { bg = "#330000" }) -end - -SetColor() -- run at startup |
