summaryrefslogtreecommitdiff
path: root/plugin/catppuccin.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/catppuccin.lua')
-rw-r--r--plugin/catppuccin.lua33
1 files changed, 33 insertions, 0 deletions
diff --git a/plugin/catppuccin.lua b/plugin/catppuccin.lua
new file mode 100644
index 0000000..79b84ec
--- /dev/null
+++ b/plugin/catppuccin.lua
@@ -0,0 +1,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")