[SCM] Vim packaging branch, debian, updated. upstream/7.1.285-117-g8a819ce
James Vega
jamessan at debian.org
Tue Jun 3 12:12:19 UTC 2008
The following commit has been merged in the debian branch:
commit 8a819ce1d573db54ed56b4bbe983a83b5730343d
Author: James Vega <jamessan at debian.org>
Date: Tue Jun 3 08:11:51 2008 -0400
Only call foldopen if the user enabled folding.
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/runtime/ftplugin/debchangelog.vim b/runtime/ftplugin/debchangelog.vim
index cd5b071..7e52004 100644
--- a/runtime/ftplugin/debchangelog.vim
+++ b/runtime/ftplugin/debchangelog.vim
@@ -279,7 +279,9 @@ function! DebGetChangelogFold(lnum)
return '='
endfunction
-silent! foldopen! " unfold the entry the cursor is on (usually the first one)
+if exists("g:debchangelog_fold_enable")
+ silent! foldopen! " unfold the entry the cursor is on (usually the first one)
+endif
" }}}
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list