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 | 57e24c6570641498271234006674722817156351 (patch) | |
| tree | ac22a5b3678cde4c096cd5260115c20d9a52fa6a /after/ftplugin/gitcommit.lua | |
| parent | 8b2f2985b1fc384946b3a39aae58298283055c96 (diff) | |
| download | nvim-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.lua | 1 |
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, }) |
