diff --git a/modules/programs/nvim/init.lua b/modules/programs/nvim/init.lua index 1cb5fce..ea00f2c 100644 --- a/modules/programs/nvim/init.lua +++ b/modules/programs/nvim/init.lua @@ -33,11 +33,13 @@ vim.opt.updatetime = 300 vim.opt_local.spell = true vim.opt_local.spelllang = { "en", "de_20" } -- all English regions and new German spelling --- plugins require("catppuccin").setup({ - flavour = "macchiato", + compile_path = vim.fn.stdpath("cache") .. "/catppuccin", -- fix issue of writing to nix store + integrations = { + which_key = true, + }, }) -vim.cmd.colorscheme("catppuccin") +vim.cmd.colorscheme("catppuccin-macchiato") vim.o.timeout = true vim.o.timeoutlen = 300 @@ -63,20 +65,20 @@ require("noice").setup({ }) wk.register({ - f = { - name="find", - f = { "Telescope find_files", "find file" }, - g = { "Telescope live_grep", "live grep" }, - b = { "Telescope buffers", "find buffer" }, - }, + f = { + name = "find", + f = { "Telescope find_files", "find file" }, + g = { "Telescope live_grep", "live grep" }, + b = { "Telescope buffers", "find buffer" }, + }, }, { prefix = "" }) require("neogit").setup({ - disable_commit_confirmation = true, + disable_commit_confirmation = true, }) wk.register({ - g = { "Neogit", "git" } -}, { prefix = ""}) + g = { "Neogit", "git" }, +}, { prefix = "" }) require("nvim-treesitter.configs").setup({ sync_install = false,