From 4a76235e5e644b8a4c6aa664ac50aa73c98c1c9f Mon Sep 17 00:00:00 2001 From: Antoine Vaure Date: Tue, 20 Aug 2024 09:51:08 +0200 Subject: [PATCH] In neogit, unstracked section is now folded by default --- lua/plugins.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index 2622d34..a4e14a8 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -375,7 +375,15 @@ local plugins = { "sindrets/diffview.nvim", -- optional "ibhagwan/fzf-lua", -- optional }, - config = true + config = function () + require("neogit").setup({ + sections = { + untracked = { + folded = true; + } + } + }) + end }, { "RRethy/vim-illuminate",