2023-11-27 18:03:12 +00:00
|
|
|
local catppuccin = require('catppuccin')
|
|
|
|
|
|
|
|
catppuccin.setup({
|
|
|
|
transparent_background = true,
|
|
|
|
integrations = {
|
|
|
|
cmp = true,
|
|
|
|
nvimtree = true,
|
|
|
|
treesitter = true,
|
|
|
|
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,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
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,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2024-04-05 19:11:06 +00:00
|
|
|
require('todo-comments').setup()
|
|
|
|
|
2023-11-27 18:03:12 +00:00
|
|
|
require('indent-o-matic').setup {
|
|
|
|
max_lines = 2048,
|
|
|
|
standard_widths = { 2, 4, 8 },
|
|
|
|
skip_multiline = 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" })
|
|
|
|
|
|
|
|
vim.opt.termguicolors = true
|
2023-11-29 01:00:01 +00:00
|
|
|
require("bufferline").setup {}
|
2023-11-27 18:03:12 +00:00
|
|
|
require("fidget").setup {
|
|
|
|
window = {
|
|
|
|
blend = 0,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
local theme = require('menu')
|
|
|
|
require('alpha').setup(theme.config)
|