nvim: Add gitcommit ft settings

This commit is contained in:
Marty Oehme 2023-03-01 14:27:03 +01:00
parent 8d40fd843e
commit e1abc2972b
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -0,0 +1,5 @@
local ns = vim.api.nvim_create_namespace('gitcommit')
vim.api.nvim_set_hl(ns, 'ColorColumn', { bg = '#a33a3a', blend = 90 })
vim.api.nvim_win_set_hl_ns(0, ns)
vim.bo.textwidth = 72
vim.wo.colorcolumn = '+0'