[PATCH] vim ftplugin
- From
Aneesh Kumar K.V <aneesh.kumar@gmail.com>
- Date
- Feb 10, 2007, 14:49 UTC
- Message-ID
- <45CDDB8B.1000405@gmail.com>
The attached patch is need for the ftplugin found at http://madism.org/~madcoder/dotfiles/vim/ftplugin/git.vim
--- /tmp/git.vim 2007-02-10 19:58:12.000000000 +0530 +++ /home/kvaneesh/.vim/ftplugin/git.vim 2007-02-10 20:08:41.000000000 +0530
@@ -16,8 +16,8 @@ " drop everything until '# (will commit)' and the next empty line while i <= line('$') let line = getline(i) - if line =~ '^#\s*(will commit)$' - let i = i + 2 + if line =~ '^#\s*Changes to be committed:$' + let i = i + 3 break endif