diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-11-03 13:46:54 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-11-03 13:46:54 +0000 |
commit | ec98647b1c674686778f3ab445581115a744afcd (patch) | |
tree | 77d76919c1b8956900da393037b1aa17c6478336 /src/testdir | |
parent | 2f59b5c1cc6fe153469ad1b4f13ae3fce8825f4f (diff) |
updated for version 7.2-274v7.2.274
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test45.in | 7 | ||||
-rw-r--r-- | src/testdir/test45.ok | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/testdir/test45.in b/src/testdir/test45.in index cc99149776..1dfad5454f 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) diff --git a/src/testdir/test45.ok b/src/testdir/test45.ok index f5a1380e5e..713cf882ec 100644 --- a/src/testdir/test45.ok +++ b/src/testdir/test45.ok @@ -8,8 +8,9 @@ marker 2 0 indent 2 1 -folding 8 hh +folding 9 ii 3 cc +7 gg expr 2 1 2 |