From c190e42da590505ef6ca5fa22dcf1001ab5c4401 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 16 Apr 2024 00:07:09 +0100 Subject: [PATCH] Make sure the textwidth to 72 in gitcommit filetype --- after/ftplugin/gitcommit.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/after/ftplugin/gitcommit.lua b/after/ftplugin/gitcommit.lua index 6b2733d..30e8f95 100644 --- a/after/ftplugin/gitcommit.lua +++ b/after/ftplugin/gitcommit.lua @@ -1,4 +1,5 @@ vim.opt.spell = true +vim.opt.textwidth = 72 -- Auto-wrap text using textwidth vim.opt.formatoptions:append('t')