diff options
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,12 @@ if vim.env.DOTFILES_DIR == nil then vim.notify("DOTFILES_DIR is not set!", vim.log.levels.WARN) end -vim.g.dotfiles = { augroup = vim.api.nvim_create_augroup("dotfiles", {}) } +vim.g.dotfiles = { + augroup = vim.api.nvim_create_augroup("dotfiles", {}), + -- Single source of truth for per-filetype formatting width + -- (textwidth → gw, mdformat --wrap, render-markdown block widths). + textwidth = { sh = 80, lua = 120, markdown = 120, gitcommit = 72 }, +} ------------------------------------------------------------------------------------------------------------------------ -- Local functions |
