From 61390f58850c34b27d2a28dc14ebd760de152cc9 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 22 Jan 2016 09:08:00 +0100 Subject: Update --- ftplugin/gitrebase.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ftplugin/gitrebase.vim') diff --git a/ftplugin/gitrebase.vim b/ftplugin/gitrebase.vim index 572a1484..e3e015bb 100644 --- a/ftplugin/gitrebase.vim +++ b/ftplugin/gitrebase.vim @@ -14,10 +14,11 @@ runtime! ftplugin/git.vim let b:did_ftplugin = 1 setlocal comments=:# commentstring=#\ %s formatoptions-=t +setlocal nomodeline if !exists("b:undo_ftplugin") let b:undo_ftplugin = "" endif -let b:undo_ftplugin = b:undo_ftplugin."|setl com< cms< fo<" +let b:undo_ftplugin = b:undo_ftplugin."|setl com< cms< fo< ml<" function! s:choose(word) s/^\(\w\+\>\)\=\(\s*\)\ze\x\{4,40\}\>/\=(strlen(submatch(1)) == 1 ? a:word[0] : a:word) . substitute(submatch(2),'^$',' ','')/e -- cgit v1.2.3