summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/colors.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-12 12:16:31 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-12 12:16:31 +0200
commit24fc98bfaca3f07c90ff33a3bfeb738fd84ff79a (patch)
tree7c5c9c870ed808d5cbee848808c70ff9ec1816c3 /.config/nvim/after/plugin/colors.lua
parenta5feec43c14bd05e8dd98d24fba7e25fdbb6fd7d (diff)
nvim: Add extensive Neovim configuration
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()