34 lines
742 B
Lua
34 lines
742 B
Lua
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
|
|
if not ok then
|
|
vim.notify("colorscheme " .. colorscheme .. " not found!")
|
|
return
|
|
end
|
|
|
|
require('lualine').setup {
|
|
options = {
|
|
theme = colorscheme,
|
|
icons_enabled = true,
|
|
globalstatus = true,
|
|
},
|
|
}
|
|
|
|
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" })
|