Skip to content

Make CONTINUATION_INDENT_WIDTH configurable. #78

Open
@zhou13

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.

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