blob: 8f16d069721c5b9885b2e700981618878b54191e [file] [log] [blame]
Syntax highlighting for git commit messages, config files, etc. is
included with the vim distribution as of vim 7.2, and should work
If you have an older version of vim, you can get the latest syntax
files from the vim project:
These files are also available via FTP at the same location.
To install:
1. Copy these files to vim's syntax directory $HOME/.vim/syntax
2. To auto-detect the editing of various git-related filetypes:
$ curl |
sed -ne '/^" Git$/, /^$/ p' >>$HOME/.vim/filetype.vim