diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-07 14:15:49 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-07 14:15:49 +0200 |
| commit | 44a26ead577a83a6308b00ecb31896ce69134e39 (patch) | |
| tree | f9a4effaa8c24886331fac2bc337c975eabff571 | |
| parent | 41eb36872bc17240e73bf721ce1e54f40ed26cc8 (diff) | |
| download | dotfiles-44a26ead577a83a6308b00ecb31896ce69134e39.tar.gz dotfiles-44a26ead577a83a6308b00ecb31896ce69134e39.zip | |
fix(nvim): gitcommit diff window starts unfolded
| -rw-r--r-- | .config/nvim/after/ftplugin/gitcommit.lua | 1 |
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, }) |
