fix nvim theme bg
This commit is contained in:
parent
516c7e1ed6
commit
d1a61d882d
1 changed files with 12 additions and 0 deletions
|
@ -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" })
|
||||
|
|
Loading…
Reference in a new issue