summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/ftplugin/gitcommit.lua
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-07 14:16:36 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-07 14:16:36 +0200
commita61858e541e81c8b25d1e650416657dc9fa5c1bc (patch)
tree9573378d2893eec005a815520841b8cd6f5ee1e4 /.config/nvim/after/ftplugin/gitcommit.lua
parent44a26ead577a83a6308b00ecb31896ce69134e39 (diff)
downloaddotfiles-a61858e541e81c8b25d1e650416657dc9fa5c1bc.tar.gz
dotfiles-a61858e541e81c8b25d1e650416657dc9fa5c1bc.zip
misc: comment
Diffstat (limited to '.config/nvim/after/ftplugin/gitcommit.lua')
-rw-r--r--.config/nvim/after/ftplugin/gitcommit.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/after/ftplugin/gitcommit.lua b/.config/nvim/after/ftplugin/gitcommit.lua
index 29166af..c30f6c5 100644
--- a/.config/nvim/after/ftplugin/gitcommit.lua
+++ b/.config/nvim/after/ftplugin/gitcommit.lua
@@ -19,7 +19,7 @@ vim.api.nvim_create_autocmd("BufWinEnter", {
vim.cmd.DiffGitCached()
vim.cmd.wincmd("L")
-- Enable English spell check in the original window
- -- If `'spell'` is set before `:DiffGitChached` it propagates to the cached diff window
+ -- If `'spell'` is set before `:DiffGitCached` it propagates to the cached diff window (that we don't want)
vim.api.nvim_set_option_value("spell", true, { win = gitcommit_window })
-- The current window is the diff window
vim.o.filetype = "diff"