[SCM] Vim packaging branch, debian, updated. upstream/7.1.285-118-g44ef451
James Vega
jamessan at debian.org
Tue Jun 3 12:20:00 UTC 2008
The following commit has been merged in the debian branch:
commit 44ef45145ad0b1711b9e3346334cfa47fbce17a2
Author: James Vega <jamessan at debian.org>
Date: Tue Jun 3 08:19:36 2008 -0400
NewVersion() should only call foldopen if folding is enabled.
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/runtime/ftplugin/debchangelog.vim b/runtime/ftplugin/debchangelog.vim
index 7e52004..aafc91e 100644
--- a/runtime/ftplugin/debchangelog.vim
+++ b/runtime/ftplugin/debchangelog.vim
@@ -116,7 +116,9 @@ function NewVersion()
normal h
normal
call setline(1, substitute(getline(1), '-\$\$', '-', ''))
- normal zo
+ if exists("g:debchangelog_fold_enable")
+ foldopen
+ endif
call AddEntry()
endfunction
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list