diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 12:16:31 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-12 12:16:31 +0200 |
commit | 24fc98bfaca3f07c90ff33a3bfeb738fd84ff79a (patch) | |
tree | 7c5c9c870ed808d5cbee848808c70ff9ec1816c3 /.config/nvim/after/plugin/colors.lua | |
parent | a5feec43c14bd05e8dd98d24fba7e25fdbb6fd7d (diff) |
nvim: Add extensive Neovim configuration
Diffstat (limited to '.config/nvim/after/plugin/colors.lua')
-rw-r--r-- | .config/nvim/after/plugin/colors.lua | 11 |
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() |