summaryrefslogtreecommitdiff
path: root/config/plugin/catppuccin.lua
diff options
context:
space:
mode:
authorseth <[email protected]>2024-04-09 19:49:37 -0400
committerseth <[email protected]>2024-04-09 19:49:37 -0400
commit16a1126200932407f9f4562fba961b514a1c91d1 (patch)
tree3ab1b6f1035436a644465757c38c17d7943cea11 /config/plugin/catppuccin.lua
parent43dbb8549d0ecc6dd62a5fd5f9b63beacbfc487b (diff)
auto import all files, cleanup + add a few things
Diffstat (limited to 'config/plugin/catppuccin.lua')
-rw-r--r--config/plugin/catppuccin.lua34
1 files changed, 34 insertions, 0 deletions
diff --git a/config/plugin/catppuccin.lua b/config/plugin/catppuccin.lua
new file mode 100644
index 0000000..f457fc2
--- /dev/null
+++ b/config/plugin/catppuccin.lua
@@ -0,0 +1,34 @@
+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_context = true,
+ treesitter = true,
+ telescope = true,
+ which_key = true,
+ },
+
+ no_italic = true,
+})
+
+vim.cmd.colorscheme("catppuccin")