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

73 lines
1.4 KiB
Lua
Raw Normal View History

2024-06-22 02:52:21 +00:00
local catppuccin = require('catppuccin')
catppuccin.setup({
transparent_background = true,
integrations = {
cmp = true,
nvimtree = true,
treesitter = true,
illuminate = {
enabled = true,
lsp = false
},
barbecue = {
2024-10-18 04:04:03 +00:00
dim_dirname = true, -- directory name is dimmed by default
bold_basename = true,
dim_context = false,
alt_background = false,
2024-06-22 02:52:21 +00:00
},
fidget = true,
markdown = true,
notify = true,
lsp_trouble = true,
},
})
local colorscheme = "catppuccin"
local ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
vim.o.background = "dark" -- or "light" for light mode
if not ok then
2024-10-18 04:04:03 +00:00
vim.notify("colorscheme " .. colorscheme .. " not found!")
return
2024-06-22 02:52:21 +00:00
end
require('lualine').setup {
2024-10-18 04:04:03 +00:00
options = {
2024-06-22 02:52:21 +00:00
theme = colorscheme,
icons_enabled = true,
globalstatus = true,
},
}
require('todo-comments').setup()
require('indent-o-matic').setup {
2024-10-18 04:04:03 +00:00
max_lines = 2048,
standard_widths = { 2, 4, 8 },
skip_multiline = true,
2024-06-22 02:52:21 +00:00
}
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" })
vim.opt.termguicolors = true
require("bufferline").setup {}
require("fidget").setup {
2024-10-18 04:04:03 +00:00
window = {
blend = 0,
},
2024-06-22 02:52:21 +00:00
}
local theme = require('menu')
require('alpha').setup(theme.config)
require('hologram').setup {
auto_display = true
}
2024-10-18 04:04:03 +00:00
require("virt-column").setup {
enabled = true,
virtcolumn = "80"
}