This seems like a quite obvious idea, but why isn't cintent able to
properly indent continuation lines that are outside of a block, even
when the relevant cintent option is set?

Take for instance this perl code:

$foo = 1;
$bar =
    2;

sub alpha {
    return 1;
}

In the above example, cindent would indent:
$bar =
    2;

as:
$bar =
2;

If properly indenting a continuation line outside of a block would be
supported, using cindent to properly indent perl code would be
effective (this is probably useful for other languages as well).


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui