diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-08 21:08:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-08 21:08:48 +1200 |
commit | 3ab80b090d032b8b54fdab34a33c5915811d0292 (patch) | |
tree | 8d8e5ad1563fa72633a9ecffa6c684544a8999bb /vim/after/syntax | |
parent | Test 'modifiable' for spellchecking text/markdown (diff) | |
download | dotfiles-3ab80b090d032b8b54fdab34a33c5915811d0292.tar.gz dotfiles-3ab80b090d032b8b54fdab34a33c5915811d0292.zip |
Highlight overly long Git commit subjects as error
Diffstat (limited to 'vim/after/syntax')
-rw-r--r-- | vim/after/syntax/gitcommit.vim | 2 |
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 |