Files
nixos-config/home/programs/neovim/lua/plugins/catppuccin-nvim.lua
2024-03-02 18:14:05 +01:00

50 lines
1.1 KiB
Lua

return {
{
"catppuccin/nvim",
lazy = false,
name = "catppuccin",
priority = 1000,
config = function()
vim.cmd.colorscheme("catppuccin")
end,
opts = {
flavor = "mocha",
integrations = {
nvimtree = true,
dashboard = true,
which_key = true,
cmp = true,
markdown = true,
leap = true,
telescope = {
enabled = true,
},
treesitter = true,
rainbow_delimiters = true,
dropbar = {
enabled = false,
color_mode = false, -- enable color for kind's texts, not just kind's icons
},
native_lsp = {
enabled = true,
virtual_text = {
errors = { "italic" },
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
},
underlines = {
errors = { "underline" },
hints = { "underline" },
warnings = { "underline" },
information = { "underline" },
},
inlay_hints = {
background = true,
},
},
},
},
},
}