nvim ftplugin tweaks

This commit is contained in:
Henrik Bakken
2026-10-16 14:16:28 +02:00
parent 32f3429acf
commit 5dc365f583
10 changed files with 75 additions and 17 deletions
+8
View File
@@ -0,0 +1,8 @@
-- 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