From 24fc98bfaca3f07c90ff33a3bfeb738fd84ff79a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 12 Sep 2023 12:16:31 +0200 Subject: nvim: Add extensive Neovim configuration --- .config/nvim/after/plugin/colors.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .config/nvim/after/plugin/colors.lua (limited to '.config/nvim/after/plugin/colors.lua') 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() -- cgit v1.2.3