nvim ftplugin tweaks
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user