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

68566[PATCH] add 'cinoption' "E" to correctly indent enum for Java code

Expand Messages
  • hong@...
    Mar 5, 2013
    • 0 Attachment
      Hi All,

      The attachment is a patch to add an 'cinoption' to correctly indent enum for Java code.

      Currently enum for C could be indent correctly:

      enum {
      MON,
      TUE,
      WED
      };

      But for Java code, the indentation would be incorrect:

      public enum {
      MON,
      TUE,
      }

      The attachment adds an option 'E' to 'cinoptions' to solve this problem. The patch also includes the modification to the help file.

      Thanks!

      Hong

      --
      --
      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

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 9 messages in this topic