From 06f6787b86df0ed5f0fced08ea647672be1e028c Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Mon, 29 Jun 2026 15:05:56 +0200 Subject: refactor: remove textwidth.gitcommit global variable --- after/ftplugin/gitcommit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'after/ftplugin/gitcommit.lua') diff --git a/after/ftplugin/gitcommit.lua b/after/ftplugin/gitcommit.lua index 98cdc0b..4c1787a 100644 --- a/after/ftplugin/gitcommit.lua +++ b/after/ftplugin/gitcommit.lua @@ -1,4 +1,4 @@ -vim.opt_local.textwidth = vim.g.dotfiles.textwidth.gitcommit -- gw wraps at this value +vim.opt_local.textwidth = 72 vim.opt_local.colorcolumn = "+1" -- Highlight one column after 'textwidth' vim.opt_local.tabstop = 2 -- CommonMark expects two spaces for indentation vim.opt_local.shiftwidth = 0 -- cgit v1.3.1