From 5c9d817d73eb4a3f97b7821da3216d80a3ac5745 Mon Sep 17 00:00:00 2001 From: "markus.dieckmann" Date: Tue, 13 May 2025 14:26:38 +0200 Subject: [PATCH] indenting --- nvim/lazy-lock.json | 1 + nvim/lua/plugins/snacks.lua | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 5f2e8d3..6e812df 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -5,6 +5,7 @@ "fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" }, "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, "fzf-lua": { "branch": "main", "commit": "b45881a2043d96506ba628f3bc65a4594b179c4e" }, + "indentmini.nvim": { "branch": "main", "commit": "b51cd09456c133b51115448dfb58e84465432029" }, "kanagawa.nvim": { "branch": "master", "commit": "4de88d695634a8776c687af8e7436cfa074aa0c0" }, "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, "lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" }, diff --git a/nvim/lua/plugins/snacks.lua b/nvim/lua/plugins/snacks.lua index d2be0d3..ad8e94a 100644 --- a/nvim/lua/plugins/snacks.lua +++ b/nvim/lua/plugins/snacks.lua @@ -9,7 +9,7 @@ return { -- refer to the configuration section below bigfile = { enabled = true }, explorer = { enabled = true }, - indent = { enabled = true }, + indent = { enabled = true, animate = { enabled = false }, scope = { enabled = true }, chunk = { enabled = true } }, input = { enabled = true }, picker = { enabled = true }, notifier = { enabled = true }, @@ -20,7 +20,13 @@ return { words = { enabled = true }, }, keys = { - { "gg", function() Snacks.lazygit() end, desc = "Lazygit" } + { + "gg", + function() + Snacks.lazygit() + end, + desc = "Lazygit", + }, }, init = function() vim.api.nvim_create_autocmd("User", { @@ -41,7 +47,9 @@ return { Snacks.toggle.option("relativenumber", { name = "Relative Number" }):map("uL") Snacks.toggle.diagnostics():map("ud") Snacks.toggle.line_number():map("ul") - Snacks.toggle.option("conceallevel", { off = 0, on = vim.o.conceallevel > 0 and vim.o.conceallevel or 2 }):map("uc") + Snacks.toggle + .option("conceallevel", { off = 0, on = vim.o.conceallevel > 0 and vim.o.conceallevel or 2 }) + :map("uc") Snacks.toggle.treesitter():map("uT") Snacks.toggle.option("background", { off = "light", on = "dark", name = "Dark Background" }):map("ub") Snacks.toggle.inlay_hints():map("uh")