Originally ported from a VimL highlighting bundle for TextMate, though very little of the original code still remains.
This repository is used by GitHub Linguist to power Vim script highlighting across the site:
" ~/.vimrcset encoding=utf-8filetype onsyntax enablehighlight OverLength ctermbg=red ctermfg=white guibg=#592929if b:current_syntax =~ "gitcommit"match OverLength /\%>72v.\+/elsematch NONEendif
The grammar still has a few rough edges, which I'm working on smoothing out when I find them. If you've noticed something flaky-looking, please [open an issue] with a sample of the affected code. Seriously.
My editors of choice are Atom and Emacs, so my knowledge of Vim script is rudimentary at best. Chances are you know more about this language than I do.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.