summaryrefslogtreecommitdiffstats
path: root/after/ftplugin/gitcommit.lua
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-07 14:15:49 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-07 14:15:49 +0200
commit57e24c6570641498271234006674722817156351 (patch)
treeac22a5b3678cde4c096cd5260115c20d9a52fa6a /after/ftplugin/gitcommit.lua
parent8b2f2985b1fc384946b3a39aae58298283055c96 (diff)
downloadnvim-config-57e24c6570641498271234006674722817156351.tar.gz
nvim-config-57e24c6570641498271234006674722817156351.zip
fix(nvim): gitcommit diff window starts unfolded
Diffstat (limited to 'after/ftplugin/gitcommit.lua')
-rw-r--r--after/ftplugin/gitcommit.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/after/ftplugin/gitcommit.lua b/after/ftplugin/gitcommit.lua
index e52a2d8..29166af 100644
--- a/after/ftplugin/gitcommit.lua
+++ b/after/ftplugin/gitcommit.lua
@@ -23,5 +23,6 @@ vim.api.nvim_create_autocmd("BufWinEnter", {
vim.api.nvim_set_option_value("spell", true, { win = gitcommit_window })
-- The current window is the diff window
vim.o.filetype = "diff"
+ vim.o.foldenable = false
end,
})