summaryrefslogtreecommitdiffstats
path: root/after/ftplugin/gitcommit.lua
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-29 15:05:56 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-29 15:05:56 +0200
commit06f6787b86df0ed5f0fced08ea647672be1e028c (patch)
tree25ca1970494bc8fb462e990a2092c4e4eead9868 /after/ftplugin/gitcommit.lua
parent30e21c2fc6bca996bd64fcde35b5f72e89c71877 (diff)
downloadnvim-config-06f6787b86df0ed5f0fced08ea647672be1e028c.tar.gz
nvim-config-06f6787b86df0ed5f0fced08ea647672be1e028c.zip
refactor: remove textwidth.gitcommit global variable
Diffstat (limited to 'after/ftplugin/gitcommit.lua')
-rw-r--r--after/ftplugin/gitcommit.lua2
1 files changed, 1 insertions, 1 deletions
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