From d1a61d882d0a9d188298275b5970595afe529316 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Mon, 9 Oct 2023 20:49:04 -0400 Subject: [PATCH] fix nvim theme bg --- home-config/nvim/lua/theme.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/home-config/nvim/lua/theme.lua b/home-config/nvim/lua/theme.lua index e10d0e2..41b53a2 100644 --- a/home-config/nvim/lua/theme.lua +++ b/home-config/nvim/lua/theme.lua @@ -2,6 +2,17 @@ local options = { termguicolors = true } +local catppuccin = require('catppuccin') + +catppuccin.setup({ + transparent_background = true, + integrations = { + cmp = true, + nvimtree = true, + treesitter = true, + }, +}) + local colorscheme = "catppuccin" local ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) vim.o.background = "dark" -- or "light" for light mode @@ -20,3 +31,4 @@ require('lualine').setup { vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) +vim.api.nvim_set_hl(0, "NvimTreeNormal", { bg = "none" })