Merge git://git.bogomips.org/git-svn
[git.git] / contrib / vim / README
blob8f16d069721c5b9885b2e700981618878b54191e
1 Syntax highlighting for git commit messages, config files, etc. is
2 included with the vim distribution as of vim 7.2, and should work
3 automatically.
5 If you have an older version of vim, you can get the latest syntax
6 files from the vim project:
8   http://ftp.vim.org/pub/vim/runtime/syntax/git.vim
9   http://ftp.vim.org/pub/vim/runtime/syntax/gitcommit.vim
10   http://ftp.vim.org/pub/vim/runtime/syntax/gitconfig.vim
11   http://ftp.vim.org/pub/vim/runtime/syntax/gitrebase.vim
12   http://ftp.vim.org/pub/vim/runtime/syntax/gitsendemail.vim
14 These files are also available via FTP at the same location.
16 To install:
18   1. Copy these files to vim's syntax directory $HOME/.vim/syntax
19   2. To auto-detect the editing of various git-related filetypes:
21         $ curl http://ftp.vim.org/pub/vim/runtime/filetype.vim |
22                 sed -ne '/^" Git$/, /^$/ p' >>$HOME/.vim/filetype.vim