git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Aneesh Kumar K.V" <aneesh.kumar@gmail.com>
To: git@vger.kernel.org
Subject: [PATCH] vim ftplugin
Date: Sat, 10 Feb 2007 20:19:47 +0530	[thread overview]
Message-ID: <45CDDB8B.1000405@gmail.com> (raw)

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


                 reply	other threads:[~2007-02-10 14:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45CDDB8B.1000405@gmail.com \
    --to=aneesh.kumar@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).