summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/2html.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-05-20 21:31:17 +0000
committerBram Moolenaar <Bram@vim.org>2005-05-20 21:31:17 +0000
commitf4630b60f598db3c163182f1920e7308d5b54cbb (patch)
treed188f060814b7375e95212b7076236338da22913 /runtime/syntax/2html.vim
parentc930a3cc82074f14f2674aa039ca46d961edb297 (diff)
updated for version 7.0074v7.0074
Diffstat (limited to 'runtime/syntax/2html.vim')
-rw-r--r--runtime/syntax/2html.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/syntax/2html.vim b/runtime/syntax/2html.vim
index 1d4135b162..f03b54ef67 100644
--- a/runtime/syntax/2html.vim
+++ b/runtime/syntax/2html.vim
@@ -273,7 +273,7 @@ else
let s:end = line("$")
endif
-if has('folding')
+if has('folding') && !exists('html_ignore_folding')
let s:foldfillchar = &fillchars[matchend(&fillchars, 'fold:')]
if s:foldfillchar == ''
let s:foldfillchar = '-'
@@ -327,7 +327,7 @@ while s:lnum <= s:end
let s:new = ""
endif
- if has('folding') && foldclosed(s:lnum) > -1
+ if has('folding') && !exists('html_ignore_folding') && foldclosed(s:lnum) > -1
"
" This is the beginning of a folded block
"