summaryrefslogtreecommitdiff
path: root/src/testdir/test45.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-11-03 13:46:54 +0000
committerBram Moolenaar <Bram@vim.org>2009-11-03 13:46:54 +0000
commitec98647b1c674686778f3ab445581115a744afcd (patch)
tree77d76919c1b8956900da393037b1aa17c6478336 /src/testdir/test45.in
parent2f59b5c1cc6fe153469ad1b4f13ae3fce8825f4f (diff)
downloadvim-git-ec98647b1c674686778f3ab445581115a744afcd.tar.gz
updated for version 7.2-274v7.2.274
Diffstat (limited to 'src/testdir/test45.in')
-rw-r--r--src/testdir/test45.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/testdir/test45.in b/src/testdir/test45.in
index cc9914977..1dfad5454 100644
--- a/src/testdir/test45.in
+++ b/src/testdir/test45.in
@@ -28,9 +28,14 @@ i jI :call append("$", "indent " . foldlevel("."))
k:call append("$", foldlevel("."))
:" test syntax folding
:set fdm=syntax fdl=0
-:syn region Hup start="dd" end="hh" fold
+:syn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3
+:syn region Fd1 start="ee" end="ff" fold contained
+:syn region Fd2 start="gg" end="hh" fold contained
+:syn region Fd3 start="commentstart" end="commentend" fold contained
Gzk:call append("$", "folding " . getline("."))
k:call append("$", getline("."))
+jAcommentstart Acommentend:set fdl=1
+3j:call append("$", getline("."))
:" test expression folding
:fun Flvl()
let l = getline(v:lnum)