git-svn: fix commiting renames over DAV with funky file names
[git/mingw/4msysgit/wingit-dll.git] / contrib / vim / README
blob9e7881fea923e47c3c35028ebbc00bce395d4005
1 To syntax highlight git's commit messages, you need to:
2   1. Copy syntax/gitcommit.vim to vim's syntax directory:
3      $ mkdir -p $HOME/.vim/syntax
4      $ cp syntax/gitcommit.vim $HOME/.vim/syntax
5   2. Auto-detect the editing of git commit files:
6      $ cat >>$HOME/.vimrc <<'EOF'
7      autocmd BufNewFile,BufRead COMMIT_EDITMSG set filetype=gitcommit
8      EOF