vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit c4af7c15112fdb76f9f3e18c67c8ed0750631c8f
parent 92270e5f363bfb0358da40d2bc0542563fbd27f0
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Wed, 14 Mar 2018 11:10:00 +0100

filetype: highlight column 72 in git commit messages

Diffstat:
Mlua/plugins/filetype.lua | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -152,6 +152,10 @@ vis.ftdetect.filetypes = { gherkin = { ext = { "%.feature$" }, }, + ['git-commit'] = { + ext = { "^COMMIT_EDITMSG$" }, + cmd = { "set colorcolumn 72" }, + }, glsl = { ext = { "%.glslf$", "%.glslv$" }, },