PHP-Indenting-for-VIm
PHP-Indenting-for-VIm copied to clipboard
variable assignment spanning multiple lines
Hello,
Indenting is missed on multi-line variable assignment, eg. for something like this I would expect the second and third line to indent:
$sql = "select something "
. "from somewhere "
. "where conditions=match";
Is there a way to configure that to happen?
Thanks...
Hi,
It's something that happens only when the declaration is at col 0 and it's the first statement in the file:
<?php
$sql = "select something "
. "from somewhere "
. "where conditions=match";
$sql = "select something "
. "from somewhere "
. "where conditions=match";