diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-07 14:16:36 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-07 14:16:36 +0200 |
| commit | 83ca0c687a5267004099480c5e66e884b515e042 (patch) | |
| tree | ef16a15ae0c7f0d6a3f3544f33d1669c24eb3756 /after/ftplugin/gitcommit.lua | |
| parent | 57e24c6570641498271234006674722817156351 (diff) | |
| download | nvim-config-83ca0c687a5267004099480c5e66e884b515e042.tar.gz nvim-config-83ca0c687a5267004099480c5e66e884b515e042.zip | |
misc: comment
Diffstat (limited to 'after/ftplugin/gitcommit.lua')
| -rw-r--r-- | after/ftplugin/gitcommit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/after/ftplugin/gitcommit.lua b/after/ftplugin/gitcommit.lua index 29166af..c30f6c5 100644 --- a/after/ftplugin/gitcommit.lua +++ b/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" |
