Skip to contentSkip to conversation

vim ftplugin

PATCH New Aneesh Kumar K.V 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vim ftplugin

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

home/kvaneesh/.vim/ftplugin/git.vim renamed from tmp/git.vim +2 -2
@@ -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