git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vim ftplugin
@ 2007-02-10 14:49 Aneesh Kumar K.V
  0 siblings, 0 replies; only message in thread
From: Aneesh Kumar K.V @ 2007-02-10 14:49 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 113 bytes --]

The attached patch is need for the ftplugin found at
http://madism.org/~madcoder/dotfiles/vim/ftplugin/git.vim



[-- Attachment #2: k --]
[-- Type: text/plain, Size: 463 bytes --]

--- /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
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-10 14:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-10 14:49 [PATCH] vim ftplugin Aneesh Kumar K.V

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).