# [PATCH] vim ftplugin

1 messages from 2007-02-10 to 2007-02-10. Participants: Aneesh Kumar K.V.
Thread: https://gitlist.dev/t/6759

## Aneesh Kumar K.V, 2007-02-10 14:49

Subject: [PATCH] vim ftplugin
Message-ID: <45CDDB8B.1000405@gmail.com>
URL: https://gitlist.dev/e/45CDDB8B.1000405%40gmail.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
 


```
