Skip to content

Make CONTINUATION_INDENT_WIDTH configurable. #78

Description

@zhou13

Current vim will indent as

tf.app.flags.DEFINE_string(
  'log', 'INFO',
  'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
  'or FATAL.')

with sw=2. However, I want to have the following indent (google style):

tf.app.flags.DEFINE_string(
    'log', 'INFO',
    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
    'or FATAL.')

In yapf, this is configurable by option CONTINUATION_INDENT_WIDTH.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions