1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
local config = function()
require("catppuccin").setup({
custom_highlights = function(colors)
return {
TodoError = { fg = colors.base, bg = colors.red },
}
end,
integrations = {
dashboard = true,
indent_blankline = {
enabled = true,
colored_indent_levels = false,
},
lsp_saga = false,
neotree = false,
cmp = true,
native_lsp = {
enabled = true,
virtual_text = {
errors = { "italic" },
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
ok = { "italic" },
},
underlines = {
errors = { "undercurl" },
hints = { "underline" },
warnings = { "undercurl" },
information = { "underline" },
ok = { "underline" },
},
inlay_hints = {
background = true,
},
},
treesitter = true,
telescope = {
enabled = true,
-- style = "nvchad"
},
lsp_trouble = false,
illuminate = {
enabled = true,
lsp = false
},
which_key = false
}
})
vim.cmd.colorscheme("catppuccin-macchiato")
end
return {
"catppuccin/nvim",
name = "catppuccin",
lazy = false,
config = config,
}
|