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
|
if vim.g.did_load_catppuccin_plugin then
return
end
vim.g.did_load_catppuccin_plugin = true
local compile_path = vim.fn.stdpath("cache") .. "/catppuccin-nvim"
vim.fn.mkdir(compile_path, "p")
vim.opt.runtimepath:append(compile_path)
require("catppuccin").setup({
compile_path = compile_path,
flavour = "mocha",
integrations = {
cmp = true,
flash = true,
gitsigns = true,
indent_blankline = {
enabled = true,
},
lsp_trouble = true,
native_lsp = {
enabled = true,
},
neotree = true,
treesitter = true,
telescope = true,
which_key = true,
},
no_italic = true,
})
vim.cmd.colorscheme("catppuccin")
|