Loading ...
Sorry, an error occurred while loading the content.

cindent-ing continuation lines outside of a block

Expand Messages
  • Viktor Kojouharov
    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
    Message 1 of 1 , Sep 4, 2007
    • 0 Attachment
      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
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.