contrib: remove vim support instructions

The git support scripts started shipping in upstream vim in version
7.2 (2008-08-09).  Clean up contrib/ a little by removing the
instructions for people on older versions of vim.

RHEL 6 already has vim 7.2.something, so anyone on a reasonably modern
operating system should not be affected.  Users on RHEL 5 presumably
know that means sometimes missing out on niceties like syntax
highlighting, so this should be safe.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Jonathan Nieder 2014-05-08 19:23:50 -07:00 committed by Junio C Hamano
parent b4f86a4ce8
commit 7d445f518e
1 changed files with 0 additions and 22 deletions

View File

@ -1,22 +0,0 @@
Syntax highlighting for git commit messages, config files, etc. is
included with the vim distribution as of vim 7.2, and should work
automatically.

If you have an older version of vim, you can get the latest syntax
files from the vim project:

http://ftp.vim.org/pub/vim/runtime/syntax/git.vim
http://ftp.vim.org/pub/vim/runtime/syntax/gitcommit.vim
http://ftp.vim.org/pub/vim/runtime/syntax/gitconfig.vim
http://ftp.vim.org/pub/vim/runtime/syntax/gitrebase.vim
http://ftp.vim.org/pub/vim/runtime/syntax/gitsendemail.vim

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 http://ftp.vim.org/pub/vim/runtime/filetype.vim |
sed -ne '/^" Git$/, /^$/ p' >>$HOME/.vim/filetype.vim