aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-08 21:08:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-08 21:08:48 +1200
commit3ab80b090d032b8b54fdab34a33c5915811d0292 (patch)
tree8d8e5ad1563fa72633a9ecffa6c684544a8999bb
parented11c7e686c9c856da25d73d236d9c3798b94bc2 (diff)
downloaddotfiles-3ab80b090d032b8b54fdab34a33c5915811d0292.tar.gz
dotfiles-3ab80b090d032b8b54fdab34a33c5915811d0292.zip
Highlight overly long Git commit subjects as error
-rw-r--r--vim/after/syntax/gitcommit.vim2
1 files changed, 2 insertions, 0 deletions
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