Hi,
When using
:vglobal/\S/,/\S/-j|noh (this reduces several empty lines following one another
to just one line)
on a php file:
<?php
class Test {
public function init()
{
echo '1';
echo '2';
echo '3';
echo '4';
echo '5';
}
}
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
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php