Files
dotfiles/CONFIG/nvim/after/ftplugin/gitcommit.lua
T
2026-10-16 14:16:28 +02:00

9 lines
323 B
Lua

-- Standard Git commit wrapping limits
vim.opt_local.colorcolumn = "72"
vim.opt_local.textwidth = 72
-- Enable prose reflowing, comment leader formatting, and numbered list handling
vim.opt_local.formatoptions:append({ "t", "c", "q", "n", "j" })
if vim.fn.executable("par") == 1 then vim.bo.formatprg = "par -w72req" end