foldmethod=syntax
and everything folded (zM)
the code is scrambled:
?php
class Test {
public function init()
{
echo '1';
echo '2'; echo '3'; echo '4'; echo '5'; }
}
I imagine this is a PHP syntax script problem
--
You received this message from the vim_dev maillist
';
}
}
with
:set foldmethod=syntax
and everything folded (zM)
the code is scrambled:
?php
class Test {
public function init()
{
echo '1';
echo '2'; echo '3'; echo '4'; echo '5'; }
}
I imagine this is a PHP syntax script problem
I forgot to precise:
:version
VIM
syntax script problem
Doesn't have anything to do with PHP.
Using this file:
test.txt
leading
a
b
c
d
following
==
With fdm=manual, create a manual fold over the 'a' line through the 'd'
line (using 'zf'). Same 'problem'. But, I'm not sure what that problem
On Thu, Aug 05, 2010 at 11:52:58AM -0400, Benjamin R. Haskell wrote:
Roughly, from what I can tell:
:vglobal/\S/ -- for all lines without non-whitespace (i.e. forall blank
lines):
,-- repeat last f F t T search (or does ',' do something
different here?)
/\S/ -- find
On Thu, 5 Aug 2010, James Vega wrote:
On Thu, Aug 05, 2010 at 11:52:58AM -0400, Benjamin R. Haskell wrote:
Roughly, from what I can tell:
:vglobal/\S/ -- for all lines without non-whitespace (i.e. forall blank
lines):
,-- repeat last f F t T search (or does ',' do