summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/colors.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/plugin/colors.lua')
-rw-r--r--.config/nvim/after/plugin/colors.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/colors.lua b/.config/nvim/after/plugin/colors.lua
new file mode 100644
index 0000000..654b217
--- /dev/null
+++ b/.config/nvim/after/plugin/colors.lua
@@ -0,0 +1,11 @@
+require('rose-pine').setup({
+ disable_background = true
+})
+
+function SetTheme(color)
+ vim.cmd.colorscheme(color or 'rose-pine')
+ vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
+ vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
+end
+
+SetTheme()