dotfiles-guix/home-config/nvim/lua/theme.lua

59 lines
1.2 KiB
Lua
Raw Normal View History

2023-10-10 00:49:04 +00:00
local catppuccin = require('catppuccin')
catppuccin.setup({
transparent_background = true,
integrations = {
cmp = true,
nvimtree = true,
treesitter = true,
2023-10-10 04:15:27 +00:00
illuminate = {
enabled = true,
lsp = false
},
barbecue = {
dim_dirname = true, -- directory name is dimmed by default
bold_basename = true,
dim_context = false,
alt_background = false,
},
coc_nvim = true,
fidget = true,
markdown = true,
notify = true,
lsp_trouble = true,
2023-10-10 00:49:04 +00:00
},
})
2023-10-10 00:25:38 +00:00
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" })
2023-10-10 00:49:04 +00:00
vim.api.nvim_set_hl(0, "NvimTreeNormal", { bg = "none" })
2023-10-10 04:15:27 +00:00
vim.opt.termguicolors = true
require("bufferline").setup{}
require("barbecue").setup()
require("barbecue.ui").toggle(true)
require("fidget").setup {
window = {
blend = 0,
},
}
2023-10-10 23:49:12 +00:00
local theme = require('menu')
require('alpha').setup(theme.config)