From 3ab80b090d032b8b54fdab34a33c5915811d0292 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 8 Jul 2018 21:08:48 +1200 Subject: Highlight overly long Git commit subjects as error --- vim/after/syntax/gitcommit.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 vim/after/syntax/gitcommit.vim (limited to 'vim/after/syntax/gitcommit.vim') diff --git a/vim/after/syntax/gitcommit.vim b/vim/after/syntax/gitcommit.vim new file mode 100644 index 00000000..e47091f9 --- /dev/null +++ b/vim/after/syntax/gitcommit.vim @@ -0,0 +1,2 @@ +" If my commit subject is too long, highlight it as an error. +highlight link gitCommitOverflow Error -- cgit v1.2.3