Mercurial > vim
comparison src/testdir/test45.in @ 11148:87779062d706 v8.0.0461
patch 8.0.0461: test 45 hangs on MS-Windows
commit https://github.com/vim/vim/commit/4a5a8dd6e5fa5581bd24b584a71b5fce9ba34bb8
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 13:54:10 2017 +0100
patch 8.0.0461: test 45 hangs on MS-Windows
Problem: Test 45 hangs on MS-Windows.
Solution: Reset 'shiftwidth'. Also remove redundent function.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 14:00:05 +0100 |
parents | ae45d497868f |
children |
comparison
equal
deleted
inserted
replaced
11147:e6281b7c5883 | 11148:87779062d706 |
---|---|
25 :" test folding with indent | 25 :" test folding with indent |
26 :set fdm=indent sw=2 | 26 :set fdm=indent sw=2 |
27 /^2 b | 27 /^2 b |
28 i jI :call append("$", "indent " . foldlevel(".")) | 28 i jI :call append("$", "indent " . foldlevel(".")) |
29 k:call append("$", foldlevel(".")) | 29 k:call append("$", foldlevel(".")) |
30 :set sw& | |
30 :" test syntax folding | 31 :" test syntax folding |
31 :set fdm=syntax fdl=0 | 32 :set fdm=syntax fdl=0 |
32 :syn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3 | 33 :syn region Hup start="dd" end="ii" fold contains=Fd1,Fd2,Fd3 |
33 :syn region Fd1 start="ee" end="ff" fold contained | 34 :syn region Fd1 start="ee" end="ff" fold contained |
34 :syn region Fd2 start="gg" end="hh" fold contained | 35 :syn region Fd2 start="gg" end="hh" fold contained |