fix nvim theme bg

This commit is contained in:
Freya Murphy 2023-10-09 20:49:04 -04:00
parent 516c7e1ed6
commit d1a61d882d
No known key found for this signature in database
GPG key ID: 988032A5638EE799

View file

@ -2,6 +2,17 @@ local options = {
termguicolors = true termguicolors = true
} }
local catppuccin = require('catppuccin')
catppuccin.setup({
transparent_background = true,
integrations = {
cmp = true,
nvimtree = true,
treesitter = true,
},
})
local colorscheme = "catppuccin" local colorscheme = "catppuccin"
local ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) local ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
vim.o.background = "dark" -- or "light" for light mode 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, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
vim.api.nvim_set_hl(0, "NvimTreeNormal", { bg = "none" })