Skip to content

Reindent with = is broken #11

Open

Description

Have this in a Vim buffer

{
	manifest_version: 2,
  name: 'Pinboard Simple',
  version: '1.0',
  description: 'Simple extension for bookmarking to Pinboard',
}

Select all lines in visual mode (<S-V>) and press =. Result:

{
manifest_version: 2,
					  name: 'Pinboard Simple',
					  version: '1.0',
					  description: 'Simple extension for bookmarking to Pinboard',
}

This doesn't look good. My settings

set noexpandtab
set shiftwidth=4
set tabstop=4

Except for indent character, result does not depend on expandtab.

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions