summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after
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
commit44a26ead577a83a6308b00ecb31896ce69134e39 (patch)
treef9a4effaa8c24886331fac2bc337c975eabff571 /.config/nvim/after
parent41eb36872bc17240e73bf721ce1e54f40ed26cc8 (diff)
downloaddotfiles-44a26ead577a83a6308b00ecb31896ce69134e39.tar.gz
dotfiles-44a26ead577a83a6308b00ecb31896ce69134e39.zip
fix(nvim): gitcommit diff window starts unfolded
Diffstat (limited to '.config/nvim/after')
-rw-r--r--.config/nvim/after/ftplugin/gitcommit.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/gitcommit.lua b/.config/nvim/after/ftplugin/gitcommit.lua
index e52a2d8..29166af 100644
--- a/.config/nvim/after/ftplugin/gitcommit.lua
+++ b/.config/nvim/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,
})